projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2b5a9
)
RDMA/mlx5: Remove unused to_mibmr function
author
Gal Pressman
<galpress@amazon.com>
Sun, 5 Jul 2020 14:11:43 +0000
(17:11 +0300)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Fri, 10 Jul 2020 19:40:39 +0000
(16:40 -0300)
The to_mibmr function is unused, remove it.
Link:
https://lore.kernel.org/r/20200705141143.47303-1-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mlx5/mlx5_ib.h
b/drivers/infiniband/hw/mlx5/mlx5_ib.h
index 13a2d1f3f14d574762fcfe8d2ec47d09e3659aaa..b93f3aa9e218fcf28b00ec8aa7defcf42064e308 100644
(file)
--- a/
drivers/infiniband/hw/mlx5/mlx5_ib.h
+++ b/
drivers/infiniband/hw/mlx5/mlx5_ib.h
@@
-1051,11
+1051,6
@@
static inline struct mlx5_ib_rwq *to_mibrwq(struct mlx5_core_qp *core_qp)
return container_of(core_qp, struct mlx5_ib_rwq, core_qp);
}
-static inline struct mlx5_ib_mr *to_mibmr(struct mlx5_core_mkey *mmkey)
-{
- return container_of(mmkey, struct mlx5_ib_mr, mmkey);
-}
-
static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd)
{
return container_of(ibpd, struct mlx5_ib_pd, ibpd);