Skip to content

Commit

Permalink
[CONNECTOR]: Cleanup struct cn_queue_dev
Browse files Browse the repository at this point in the history
Struct member netlink_groups is never used, and I don't see how it can
be useful.

Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Li Zefan authored and davem330 committed Jan 28, 2008
1 parent 00f5e06 commit 96a8996
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/connector/cn_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ struct cn_queue_dev *cn_queue_alloc_dev(char *name, struct sock *nls)
spin_lock_init(&dev->queue_lock);

dev->nls = nls;
dev->netlink_groups = 0;

dev->cn_queue = create_workqueue(dev->name);
if (!dev->cn_queue) {
Expand Down
1 change: 0 additions & 1 deletion include/linux/connector.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ struct cn_queue_dev {
struct list_head queue_list;
spinlock_t queue_lock;

int netlink_groups;
struct sock *nls;
};

Expand Down

0 comments on commit 96a8996

Please sign in to comment.