RDMA/mlx5: Remove unused to_mibmr function
Subsystems (2)
PATCH 1/1 RDMA/mlx5: Remove unused to_mibmr function
The to_mibmr function is unused, remove it.
Signed-off-by Gal Pressman <[email protected]>
--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 5 ----- 1 file changed, 5 deletions(-)
drivers/infiniband/hw/mlx5/mlx5_ib.h +0 -5
@@ -1078,11 +1078,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);
Signature · 1 line
2.27.0
Quoted 7 lines · Gal Pressman
The
to_mibmrfunction is unused, remove it.Signed-off-by Gal Pressman <[email protected]>--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 5 ----- 1 file changed, 5 deletions(-)
Thanks,
Acked-by Leon Romanovsky <[email protected]>
Quoted 7 lines · Gal Pressman
The
to_mibmrfunction is unused, remove it.Signed-off-by Gal Pressman <[email protected]>Acked-by Leon Romanovsky <[email protected]>--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 5 ----- 1 file changed, 5 deletions(-)
Applied to for-next, thanks
Jason