summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/isert/ib_isert.h
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2015-12-18 09:59:46 +0100
committerDoug Ledford <dledford@redhat.com>2015-12-22 20:39:00 +0100
commit4a061b287b1eb58676875cc45929679911d1ca38 (patch)
tree8ed8dad4965bdc2592f7547593aaf2ed01e3bfae /drivers/infiniband/ulp/isert/ib_isert.h
parentIB/core: Avoid calling ib_query_device (diff)
downloadlinux-4a061b287b1eb58676875cc45929679911d1ca38.tar.xz
linux-4a061b287b1eb58676875cc45929679911d1ca38.zip
IB/ulps: Avoid calling ib_query_device
Instead, use the cached copy of the attributes present on the device. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/isert/ib_isert.h')
-rw-r--r--drivers/infiniband/ulp/isert/ib_isert.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.h b/drivers/infiniband/ulp/isert/ib_isert.h
index 3d7fbc47c343..b41f15a1ae25 100644
--- a/drivers/infiniband/ulp/isert/ib_isert.h
+++ b/drivers/infiniband/ulp/isert/ib_isert.h
@@ -207,7 +207,6 @@ struct isert_device {
struct isert_comp *comps;
int comps_used;
struct list_head dev_node;
- struct ib_device_attr dev_attr;
int (*reg_rdma_mem)(struct iscsi_conn *conn,
struct iscsi_cmd *cmd,
struct isert_rdma_wr *wr);