Message ID | 20200705141143.47303-1-galpress@amazon.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 6c72a038bf4235180550dff9ddff7392e3cff893 |
Delegated to: | Jason Gunthorpe |
Headers | show |
Series | [for-next] RDMA/mlx5: Remove unused to_mibmr function | expand |
On Sun, Jul 05, 2020 at 05:11:43PM +0300, Gal Pressman wrote: > The to_mibmr function is unused, remove it. > > Signed-off-by: Gal Pressman <galpress@amazon.com> > --- > drivers/infiniband/hw/mlx5/mlx5_ib.h | 5 ----- > 1 file changed, 5 deletions(-) > Thanks, Acked-by: Leon Romanovsky <leonro@mellanox.com>
On Sun, Jul 05, 2020 at 05:11:43PM +0300, Gal Pressman wrote: > The to_mibmr function is unused, remove it. > > Signed-off-by: Gal Pressman <galpress@amazon.com> > Acked-by: Leon Romanovsky <leonro@mellanox.com> > --- > drivers/infiniband/hw/mlx5/mlx5_ib.h | 5 ----- > 1 file changed, 5 deletions(-) Applied to for-next, thanks Jason
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index 2fd199c07dda..da03d762c6a2 100644 --- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -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);
The to_mibmr function is unused, remove it. Signed-off-by: Gal Pressman <galpress@amazon.com> --- drivers/infiniband/hw/mlx5/mlx5_ib.h | 5 ----- 1 file changed, 5 deletions(-)