aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/irdma/verbs.c
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@linux.dev>2021-10-21 19:06:12 -0400
committerJason Gunthorpe <jgg@nvidia.com>2021-10-25 14:36:58 -0300
commit86479f8a3fc72df53bb07fe2f26acbd249baebfe (patch)
tree13972c04a707a2947f83f7b675877601b5c76dc1 /drivers/infiniband/hw/irdma/verbs.c
parentRDMA: Constify netdev->dev_addr accesses (diff)
downloadlinux-dev-86479f8a3fc72df53bb07fe2f26acbd249baebfe.tar.xz
linux-dev-86479f8a3fc72df53bb07fe2f26acbd249baebfe.zip
RDMA/irdma: Remove the unused spin lock in struct irdma_qp_uk
The spin lock in struct irdma_qp_uk is not used. So remove it. Link: https://lore.kernel.org/r/20211021230612.153812-1-yanjun.zhu@linux.dev Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/irdma/verbs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
index aa38ace15c07..273d2a7b43d9 100644
--- a/drivers/infiniband/hw/irdma/verbs.c
+++ b/drivers/infiniband/hw/irdma/verbs.c
@@ -833,7 +833,6 @@ static int irdma_create_qp(struct ib_qp *ibqp,
qp = &iwqp->sc_qp;
qp->qp_uk.back_qp = iwqp;
- qp->qp_uk.lock = &iwqp->lock;
qp->push_idx = IRDMA_INVALID_PUSH_PAGE_INDEX;
iwqp->iwdev = iwdev;