diff options
author | Minjie Du <duminjie@vivo.com> | 2023-07-05 13:39:50 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-07-23 10:51:07 +0300 |
commit | 2f5833ead7ea332889cfbdd4ac7b84279fdd3cef (patch) | |
tree | 140343a15776e487a67b70a3eb5b2cbce1935436 /drivers/infiniband/hw/qedr/qedr_roce_cm.c | |
parent | 61a8118f60e9dde64be4f3a6e07c15014a8bfbd2 (diff) | |
download | linux-2f5833ead7ea332889cfbdd4ac7b84279fdd3cef.tar.xz |
RDMA/qedr: Remove a duplicate assignment in qedr_create_gsi_qp()
Delete a duplicate statement from this function implementation.
Signed-off-by: Minjie Du <duminjie@vivo.com>
Link: https://lore.kernel.org/r/20230705103950.15225-1-duminjie@vivo.com
Acked-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/qedr/qedr_roce_cm.c')
-rw-r--r-- | drivers/infiniband/hw/qedr/qedr_roce_cm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qedr/qedr_roce_cm.c b/drivers/infiniband/hw/qedr/qedr_roce_cm.c index 05307c1488b8..859f66a51bd2 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); |