[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230705031849.2443-1-duminjie@vivo.com>
Date: Wed, 5 Jul 2023 11:18:49 +0800
From: Minjie Du <duminjie@...o.com>
To: Mustafa Ismail <mustafa.ismail@...el.com>,
Shiraz Saleem <shiraz.saleem@...el.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Leon Romanovsky <leon@...nel.org>,
linux-rdma@...r.kernel.org (open list:INTEL ETHERNET PROTOCOL DRIVER
FOR RDMA), linux-kernel@...r.kernel.org (open list)
Cc: opensource.kernel@...o.com, Minjie Du <duminjie@...o.com>
Subject: [PATCH v1] drivers: hw: Remove duplicate assignments
make iwqp->ietf_mem.va avoid double assignment.
Signed-off-by: Minjie Du <duminjie@...o.com>
---
drivers/infiniband/hw/irdma/cm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/infiniband/hw/irdma/cm.c b/drivers/infiniband/hw/irdma/cm.c
index 70009b970..a65dad5a8 100644
--- a/drivers/infiniband/hw/irdma/cm.c
+++ b/drivers/infiniband/hw/irdma/cm.c
@@ -3577,7 +3577,6 @@ void irdma_free_lsmm_rsrc(struct irdma_qp *iwqp)
iwqp->ietf_mem.size, iwqp->ietf_mem.va,
iwqp->ietf_mem.pa);
iwqp->ietf_mem.va = NULL;
- iwqp->ietf_mem.va = NULL;
}
}
--
2.39.0
Powered by blists - more mailing lists