diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2015-07-30 17:22:16 -0600 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-08-30 18:12:33 -0400 |
commit | 4be90bc60df47f6268b594c4fb6c90f0ff2f519f (patch) | |
tree | 1a25d794b7a64a5340e74badc7a5c1b19ab08426 /drivers/infiniband/core/mad_priv.h | |
parent | IB/core: Guarantee that a local_dma_lkey is available (diff) | |
download | linux-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.h | 1 |
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]; |