[CONNECTOR]: Cleanup struct cn_callback_entry
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 4 Jan 2008 09:59:42 +0000 (01:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:40 +0000 (15:00 -0800)
commit6e32814bc89e7103e2b75b841155faf51f60a8f1
tree8671823df2eb91152f7abd03467e6a2432da0468
parent96a899655e2c3ba53f083eda69706ee4eb05271f
[CONNECTOR]: Cleanup struct cn_callback_entry

- 'cb' is a fake struct member. In a previous patch struct cn_callback
was renamed to cn_callback_id, so 'cb' should have been deleted at that
time.

- 'nls' isn't used and is redundant, we can retrieve this data through
cn_callback_entry.pdev->nls.

- 'seq' and 'group' should be u32, as they are declared to be u32 in
other places.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/cn_queue.c
include/linux/connector.h