summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-01-04 12:59:20 +0300
committerDavid S. Miller <davem@davemloft.net>2008-01-29 02:00:39 +0300
commit96a899655e2c3ba53f083eda69706ee4eb05271f (patch)
tree55b305029607d712724470b6cd501c4afb168bd5 /drivers
parent00f5e06c032507206c4ac0c846ad82b75ae7665b (diff)
downloadlinux-96a899655e2c3ba53f083eda69706ee4eb05271f.tar.xz
[CONNECTOR]: Cleanup struct cn_queue_dev
Struct member netlink_groups is never used, and I don't see how it can be useful. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/connector/cn_queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/connector/cn_queue.c b/drivers/connector/cn_queue.c
index 12ceed54ab18..dbda08c7b3db 100644
--- a/drivers/connector/cn_queue.c
+++ b/drivers/connector/cn_queue.c
@@ -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) {