Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RDMA/mlx5: Remove unused to_mibmr function

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>

authored by

Gal Pressman and committed by
Jason Gunthorpe
6c72a038 1e2b5a90

-5
-5
drivers/infiniband/hw/mlx5/mlx5_ib.h
··· 1051 1051 return container_of(core_qp, struct mlx5_ib_rwq, core_qp); 1052 1052 } 1053 1053 1054 - static inline struct mlx5_ib_mr *to_mibmr(struct mlx5_core_mkey *mmkey) 1055 - { 1056 - return container_of(mmkey, struct mlx5_ib_mr, mmkey); 1057 - } 1058 - 1059 1054 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) 1060 1055 { 1061 1056 return container_of(ibpd, struct mlx5_ib_pd, ibpd);