diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2015-12-18 09:59:50 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-22 23:01:40 +0100 |
commit | 182a2da0c768a9ec64abb0d6009667057f1c06af (patch) | |
tree | 4aaa1aaa6c6787a3db4b3a126cf1c104df09bf2c /include | |
parent | staging/o2iblnd: Avoid calling ib_query_device (diff) | |
download | linux-182a2da0c768a9ec64abb0d6009667057f1c06af.tar.xz linux-182a2da0c768a9ec64abb0d6009667057f1c06af.zip |
IB/core: Remove ib_query_device
The copy of the attributes present on the device is now used by all consumers
except for uverbs in case of serving user-space query, where dev->query_device
is called.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/rdma/ib_verbs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 730dcfb209b9..0567866a05e2 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1913,9 +1913,6 @@ int ib_register_event_handler (struct ib_event_handler *event_handler); int ib_unregister_event_handler(struct ib_event_handler *event_handler); void ib_dispatch_event(struct ib_event *event); -int ib_query_device(struct ib_device *device, - struct ib_device_attr *device_attr); - int ib_query_port(struct ib_device *device, u8 port_num, struct ib_port_attr *port_attr); |