projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
845517e
)
RDMA/mlx5: Remove duplicate pointer assignment in mlx5_ib_alloc_implicit_mr()
author
Daisuke Matsuda
<matsuda-daisuke@fujitsu.com>
Wed, 18 May 2022 04:49:14 +0000
(
04:49
+0000)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Thu, 19 May 2022 18:57:52 +0000
(15:57 -0300)
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>
drivers/infiniband/hw/mlx5/odp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx5/odp.c
b/drivers/infiniband/hw/mlx5/odp.c
index 66ac7bdc59f6bfc1ba0626d30e114c59490a7442..84da5674e1abc699d6f774ba45bdadacdfc8e9fe 100644
(file)
--- a/
drivers/infiniband/hw/mlx5/odp.c
+++ b/
drivers/infiniband/hw/mlx5/odp.c
@@
-509,7
+509,6
@@
struct mlx5_ib_mr *mlx5_ib_alloc_implicit_mr(struct mlx5_ib_pd *pd,
imr->ibmr.lkey = imr->mmkey.key;
imr->ibmr.rkey = imr->mmkey.key;
imr->ibmr.device = &dev->ib_dev;
- imr->umem = &umem_odp->umem;
imr->is_odp_implicit = true;
xa_init(&imr->implicit_children);