aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/mad_priv.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2015-07-30 17:22:16 -0600
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:12:33 -0400
commit4be90bc60df47f6268b594c4fb6c90f0ff2f519f (patch)
tree1a25d794b7a64a5340e74badc7a5c1b19ab08426 /drivers/infiniband/core/mad_priv.h
parentIB/core: Guarantee that a local_dma_lkey is available (diff)
downloadlinux-dev-4be90bc60df47f6268b594c4fb6c90f0ff2f519f.tar.xz
linux-dev-4be90bc60df47f6268b594c4fb6c90f0ff2f519f.zip
IB/mad: Remove ib_get_dma_mr calls
The pd now has a local_dma_lkey member which completely replaces ib_get_dma_mr, use it instead. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/mad_priv.h')
-rw-r--r--drivers/infiniband/core/mad_priv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/mad_priv.h b/drivers/infiniband/core/mad_priv.h
index 5be89f98928f..4a4f7aad0978 100644
--- a/drivers/infiniband/core/mad_priv.h
+++ b/drivers/infiniband/core/mad_priv.h
@@ -199,7 +199,6 @@ struct ib_mad_port_private {
int port_num;
struct ib_cq *cq;
struct ib_pd *pd;
- struct ib_mr *mr;
spinlock_t reg_lock;
struct ib_mad_mgmt_version_table version[MAX_MGMT_VERSION];