diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-01-04 04:59:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:00:39 -0500 |
commit | 96a899655e2c3ba53f083eda69706ee4eb05271f (patch) | |
tree | 55b305029607d712724470b6cd501c4afb168bd5 | |
parent | 00f5e06c032507206c4ac0c846ad82b75ae7665b (diff) |
[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>
-rw-r--r-- | drivers/connector/cn_queue.c | 1 | ||||
-rw-r--r-- | include/linux/connector.h | 1 |
2 files changed, 0 insertions, 2 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) | |||
146 | spin_lock_init(&dev->queue_lock); | 146 | spin_lock_init(&dev->queue_lock); |
147 | 147 | ||
148 | dev->nls = nls; | 148 | dev->nls = nls; |
149 | dev->netlink_groups = 0; | ||
150 | 149 | ||
151 | dev->cn_queue = create_workqueue(dev->name); | 150 | dev->cn_queue = create_workqueue(dev->name); |
152 | if (!dev->cn_queue) { | 151 | if (!dev->cn_queue) { |
diff --git a/include/linux/connector.h b/include/linux/connector.h index 13fc4541bf23..7e18311d655e 100644 --- a/include/linux/connector.h +++ b/include/linux/connector.h | |||
@@ -112,7 +112,6 @@ struct cn_queue_dev { | |||
112 | struct list_head queue_list; | 112 | struct list_head queue_list; |
113 | spinlock_t queue_lock; | 113 | spinlock_t queue_lock; |
114 | 114 | ||
115 | int netlink_groups; | ||
116 | struct sock *nls; | 115 | struct sock *nls; |
117 | }; | 116 | }; |
118 | 117 | ||