diff options
author | Xiao Yang <[email protected]> | 2021-07-02 20:30:24 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-07-15 14:43:19 -0300 |
commit | cdbdb7724740f62d11519679e11cf673cd9d6c8f (patch) | |
tree | 2a4394560f188288c6c3ff0d53118b04e4507568 | |
parent | 9d649d594f3965cbd162121259b2f84928b907a1 (diff) |
RDMA/rxe: Remove the repeated 'mr->umem = umem'
Drop duplicated code
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xiao Yang <[email protected]>
Reviewed-by: HÃ¥kon Bugge <[email protected]>
Reviewed-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_mr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_mr.c b/drivers/infiniband/sw/rxe/rxe_mr.c index 6aabcb4de235..487cefc015b8 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); |