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/20220518044914.1903125-1-matsuda-daisuke@fujitsu.com Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
1 parent 845517e commit 988d74d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • drivers/infiniband/hw/mlx5

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)