[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230705075225.11954-1-duminjie@vivo.com>
Date: Wed, 5 Jul 2023 15:52:25 +0800
From: Minjie Du <duminjie@...o.com>
To: Michal Kalderon <mkalderon@...vell.com>,
Ariel Elior <aelior@...vell.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Leon Romanovsky <leon@...nel.org>,
linux-rdma@...r.kernel.org (open list:QLOGIC QL4xxx RDMA DRIVER),
linux-kernel@...r.kernel.org (open list)
Cc: opensource.kernel@...o.com, Minjie Du <duminjie@...o.com>
Subject: [PATCH v1] drivers: qedr: remove duplicate assignments
make dev->gsi_rqcq->cq_type avoid double assignment.
Signed-off-by: Minjie Du <duminjie@...o.com>
---
drivers/infiniband/hw/qedr/qedr_roce_cm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/infiniband/hw/qedr/qedr_roce_cm.c b/drivers/infiniband/hw/qedr/qedr_roce_cm.c
index 05307c148..859f66a51 100644
--- a/drivers/infiniband/hw/qedr/qedr_roce_cm.c
+++ b/drivers/infiniband/hw/qedr/qedr_roce_cm.c
@@ -354,7 +354,6 @@ int qedr_create_gsi_qp(struct qedr_dev *dev, struct ib_qp_init_attr *attrs,
/* the GSI CQ is handled by the driver so remove it from the FW */
qedr_destroy_gsi_cq(dev, attrs);
dev->gsi_rqcq->cq_type = QEDR_CQ_TYPE_GSI;
- dev->gsi_rqcq->cq_type = QEDR_CQ_TYPE_GSI;
DP_DEBUG(dev, QEDR_MSG_GSI, "created GSI QP %p\n", qp);
--
2.39.0
Powered by blists - more mailing lists