RDMA/device: Get rid of reg_state
This really has no purpose anymore, refcount can be used to tell if the device is still registered. Keeping it around just invites mis-use. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com>
This commit is contained in:
@@ -2572,12 +2572,6 @@ struct ib_device {
|
||||
struct kobject *ports_kobj;
|
||||
struct list_head port_list;
|
||||
|
||||
enum {
|
||||
IB_DEV_UNINITIALIZED,
|
||||
IB_DEV_REGISTERED,
|
||||
IB_DEV_UNREGISTERED
|
||||
} reg_state;
|
||||
|
||||
int uverbs_abi_ver;
|
||||
u64 uverbs_cmd_mask;
|
||||
u64 uverbs_ex_cmd_mask;
|
||||
|
Reference in New Issue
Block a user