diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-07 08:41:50 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-09 02:56:45 +0300 |
commit | 652432f33c01b2edaa5b2550b423cd894b1c7b9a (patch) | |
tree | 0f65f5976a8144282fe8b11e2f63b1cee1158467 /include/rdma | |
parent | d45f89d59bcd42d6b8575d0af69d7a3a98e73bb6 (diff) | |
download | linux-652432f33c01b2edaa5b2550b423cd894b1c7b9a.tar.xz |
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>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 854d7816787c..d8ba987e8b29 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -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; |