projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d649d5
)
RDMA/rxe: Remove the repeated 'mr->umem = umem'
author
Xiao Yang
<yangx.jy@fujitsu.com>
Fri, 2 Jul 2021 12:30:24 +0000
(20:30 +0800)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Thu, 15 Jul 2021 17:43:19 +0000
(14:43 -0300)
Drop duplicated code
Link:
https://lore.kernel.org/r/20210702123024.37025-1-ice_yangxiao@163.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_mr.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/sw/rxe/rxe_mr.c
b/drivers/infiniband/sw/rxe/rxe_mr.c
index
6aabcb4
..
487cefc
100644
(file)
--- 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);