[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210813055729.19885-1-mie@igel.co.jp>
Date: Fri, 13 Aug 2021 14:57:29 +0900
From: Shunsuke Mie <mie@...l.co.jp>
To: Zhu Yanjun <zyjzyj2000@...il.com>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>
Cc: mie@...l.co.jp, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] RDMA/rxe: Remove duplicate umem assignment
While initialization of rxe_mr, mr->umem is assigned duplicate. Remove
the redundant code.
Signed-off-by: Shunsuke Mie <mie@...l.co.jp>
---
drivers/infiniband/sw/rxe/rxe_mr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/infiniband/sw/rxe/rxe_mr.c b/drivers/infiniband/sw/rxe/rxe_mr.c
index 73bbafd32554..6e2e0da2e50d 100644
--- a/drivers/infiniband/sw/rxe/rxe_mr.c
+++ b/drivers/infiniband/sw/rxe/rxe_mr.c
@@ -122,7 +122,6 @@ int rxe_mr_init_user(struct rxe_pd *pd, u64 start, u64 length, u64 iova,
goto err1;
}
- mr->umem = umem;
num_buf = ib_umem_num_pages(umem);
rxe_mr_init(access, mr);
--
2.25.1
Powered by blists - more mailing lists