summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/irdma
diff options
context:
space:
mode:
authorMinjie Du <duminjie@vivo.com>2023-07-05 11:18:49 +0800
committerLeon Romanovsky <leon@kernel.org>2023-07-23 10:51:08 +0300
commit44725a87381353075273618eeedc9127e99c378e (patch)
tree28bb8800885f2e1a7bb98b08b526c203964a1aaa /drivers/infiniband/hw/irdma
parent2f5833ead7ea332889cfbdd4ac7b84279fdd3cef (diff)
RDMA/qedr: Remove duplicate assignments of va
Avoid double assignment of iwqp->ietf_mem.va. Signed-off-by: Minjie Du <duminjie@vivo.com> Link: https://lore.kernel.org/r/20230705031849.2443-1-duminjie@vivo.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/irdma')
-rw-r--r--drivers/infiniband/hw/irdma/cm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/irdma/cm.c b/drivers/infiniband/hw/irdma/cm.c
index 8ea55c6a3fba..70017048d7d1 100644
--- a/drivers/infiniband/hw/irdma/cm.c
+++ b/drivers/infiniband/hw/irdma/cm.c
@@ -3627,7 +3627,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;
}
}