Skip to content

Commit 988d74d

Browse files
ddmatsujgunthorpe
authored andcommitted
RDMA/mlx5: Remove duplicate pointer assignment in mlx5_ib_alloc_implicit_mr()
The pointer imr->umem is assigned twice. Fix this by removing the redundant one. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daisuke Matsuda <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 845517e commit 988d74d

File tree

1 file changed

+0
-1
lines changed
  • drivers/infiniband/hw/mlx5

1 file changed

+0
-1
lines changed

drivers/infiniband/hw/mlx5/odp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ struct mlx5_ib_mr *mlx5_ib_alloc_implicit_mr(struct mlx5_ib_pd *pd,
509509
imr->ibmr.lkey = imr->mmkey.key;
510510
imr->ibmr.rkey = imr->mmkey.key;
511511
imr->ibmr.device = &dev->ib_dev;
512-
imr->umem = &umem_odp->umem;
513512
imr->is_odp_implicit = true;
514513
xa_init(&imr->implicit_children);
515514

0 commit comments

Comments
 (0)