RDMA/irdma: remove the unused spin lock in struct irdma_qp_uk
Subsystems (2)
PATCH 1/1 RDMA/irdma: remove the unused spin lock in struct irdma_qp_uk
From: Zhu Yanjun <[email protected]>
The spin lock in struct irdma_qp_uk is not used. So remove it.
Signed-off-by Zhu Yanjun <[email protected]>
--- drivers/infiniband/hw/irdma/user.h | 1 - drivers/infiniband/hw/irdma/verbs.c | 1 - 2 files changed, 2 deletions(-)
drivers/infiniband/hw/irdma/user.h +0 -1
@@ -369,7 +369,6 @@ struct irdma_qp_uk { bool rq_flush_complete:1; /* Indicates flush was seen and RQ was empty after the flush */ bool destroy_pending:1; /* Indicates the QP is being destroyed */void *back_qp; -spinlock_t *lock;u8 dbg_rq_flushed;u8 sq_flush_seen;u8 rq_flush_seen;
drivers/infiniband/hw/irdma/verbs.c +0 -1
@@ -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;
Signature · 1 line
2.27.0
Quoted 12 lines
Subject: [PATCH 1/1] RDMA/irdma: remove the unused spin lock in struct
irdma_qp_ukFrom: Zhu Yanjun <[email protected]>
The spin lock in struct
irdma_qp_ukis not used. So remove it.Signed-off-by Zhu Yanjun <[email protected]>--- drivers/infiniband/hw/irdma/user.h | 1 - drivers/infiniband/hw/irdma/verbs.c | 1 - 2 files changed, 2 deletions(-)
Acked-by Shiraz Saleem <[email protected]>
Quoted 10 lines · On Thu, Oct 21, 2021 at 07:06:12PM -0400, [email protected] wrote:
From: Zhu Yanjun <[email protected]>
The spin lock in struct
irdma_qp_ukis not used. So remove it.Signed-off-by Zhu Yanjun <[email protected]>Acked-by Shiraz Saleem <[email protected]>--- drivers/infiniband/hw/irdma/user.h | 1 - drivers/infiniband/hw/irdma/verbs.c | 1 - 2 files changed, 2 deletions(-)
Applied to for-next, thanks
Jason