diff options
author | Mitesh Ahuja <mitesh.ahuja@emulex.com> | 2014-12-18 11:43:06 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2015-02-18 19:31:04 +0300 |
commit | d2b8f7b1f87948f5b4198d9ca52733eb9ff9e4be (patch) | |
tree | a6ef53f88fec84ec4aa9a9dc9b7018bdb95a7a60 /drivers/infiniband/hw/ocrdma/ocrdma.h | |
parent | b4dbe8d52d08e5ed60c9d01efbcd7b8694cf4b9f (diff) | |
download | linux-d2b8f7b1f87948f5b4198d9ca52733eb9ff9e4be.tar.xz |
RDMA/ocrdma: remove reference of ocrdma_dev out of ocrdma_qp structure
Use get_ocrdma_dev(ocrdma_qp->ibqp.device) function to access ocrdma
device pointer.
Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma.h b/drivers/infiniband/hw/ocrdma/ocrdma.h index b9fee0ed32d2..4dcec05e3b7f 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma.h @@ -370,7 +370,6 @@ struct ocrdma_srq { struct ocrdma_qp { struct ib_qp ibqp; - struct ocrdma_dev *dev; u8 __iomem *sq_db; struct ocrdma_qp_hwq_info sq; |