diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2018-11-26 08:28:34 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-12-04 13:46:41 -0500 |
commit | 04ca16cc198c2bd2fc51749123c118a284d1605e (patch) | |
tree | 0867450a445be4d2f4ae9934f4dbc5839a2ed1ed /drivers/infiniband/core/rdma_core.h | |
parent | IB/core: Introduce UVERBS_IDR_ANY_OBJECT (diff) | |
download | linux-dev-04ca16cc198c2bd2fc51749123c118a284d1605e.tar.xz linux-dev-04ca16cc198c2bd2fc51749123c118a284d1605e.zip |
IB/core: Enable getting an object type from a given uobject
Enable getting an object type from a given uobject, the type is saved
upon tree merging and is returned as part of some helper function.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/rdma_core.h')
-rw-r--r-- | drivers/infiniband/core/rdma_core.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/core/rdma_core.h b/drivers/infiniband/core/rdma_core.h index 8aec28037c48..b3ca7457ac42 100644 --- a/drivers/infiniband/core/rdma_core.h +++ b/drivers/infiniband/core/rdma_core.h @@ -118,11 +118,6 @@ void release_ufile_idr_uobject(struct ib_uverbs_file *ufile); * Depending on ID the slot pointer in the radix tree points at one of these * structs. */ -struct uverbs_api_object { - const struct uverbs_obj_type *type_attrs; - const struct uverbs_obj_type_class *type_class; - u8 disabled:1; -}; struct uverbs_api_ioctl_method { int(__rcu *handler)(struct uverbs_attr_bundle *attrs); |