mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
RDMA/rxe: Remove the repeated 'mr->umem = umem'
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>
This commit is contained in:
parent
9d649d594f
commit
cdbdb77247
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user