aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-02-06 22:41:50 -0700
committerJason Gunthorpe <jgg@mellanox.com>2019-02-08 16:56:45 -0700
commit652432f33c01b2edaa5b2550b423cd894b1c7b9a (patch)
tree0f65f5976a8144282fe8b11e2f63b1cee1158467 /include/rdma/ib_verbs.h
parentRDMA/device: Call ib_cache_release_one() only from ib_device_release() (diff)
downloadlinux-dev-652432f33c01b2edaa5b2550b423cd894b1c7b9a.tar.xz
linux-dev-652432f33c01b2edaa5b2550b423cd894b1c7b9a.zip
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 '')
-rw-r--r--include/rdma/ib_verbs.h6
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;