IB/uverbs: Remove dev_table
authorAlexander Chiang <achiang@hp.com>
Tue, 2 Feb 2010 19:07:54 +0000 (19:07 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 18:23:39 +0000 (10:23 -0800)
commit2a72f212263701b927559f6850446421d5906c41
tree01165dbee7057992d0059a6e5705d463aee3cfe5
parent055422ddbb0a7610c5f57a056743d7336a39e90f
IB/uverbs: Remove dev_table

dev_table's raison d'etre was to associate an inode back to a struct
ib_uverbs_device.

However, now that we've converted ib_uverbs_device to contain an
embedded cdev (instead of a *cdev), we can use the container_of()
macro and cast back to the containing device.

There's no longer any need for dev_table, so get rid of it.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs_main.c