Skip to contentSkip to conversation

RDMA/mlx5: Remove unused to_mibmr function

PATCH Applied Gal Pressman 3 participants 3 messages Jul 5, 2020 – Jul 10, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/mlx5: Remove unused to_mibmr function

The to_mibmr function is unused, remove it.

---
 drivers/infiniband/hw/mlx5/mlx5_ib.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/infiniband/hw/mlx5/mlx5_ib.h +0 -5
index 2fd199c07dda..da03d762c6a2 100644
@@ -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