linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next] RDMA/mlx5: Remove unused to_mibmr function
@ 2020-07-05 14:11 Gal Pressman
  2020-07-05 14:57 ` Leon Romanovsky
  2020-07-10 19:40 ` Jason Gunthorpe
  0 siblings, 2 replies; 3+ messages in thread
From: Gal Pressman @ 2020-07-05 14:11 UTC (permalink / raw)
  To: Jason Gunthorpe, Doug Ledford; +Cc: Leon Romanovsky, linux-rdma, Gal Pressman

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(-)

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);
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH for-next] RDMA/mlx5: Remove unused to_mibmr function
  2020-07-05 14:11 [PATCH for-next] RDMA/mlx5: Remove unused to_mibmr function Gal Pressman
@ 2020-07-05 14:57 ` Leon Romanovsky
  2020-07-10 19:40 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2020-07-05 14:57 UTC (permalink / raw)
  To: Gal Pressman; +Cc: Jason Gunthorpe, Doug Ledford, linux-rdma

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH for-next] RDMA/mlx5: Remove unused to_mibmr function
  2020-07-05 14:11 [PATCH for-next] RDMA/mlx5: Remove unused to_mibmr function Gal Pressman
  2020-07-05 14:57 ` Leon Romanovsky
@ 2020-07-10 19:40 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2020-07-10 19:40 UTC (permalink / raw)
  To: Gal Pressman; +Cc: Doug Ledford, Leon Romanovsky, linux-rdma

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-10 19:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 14:11 [PATCH for-next] RDMA/mlx5: Remove unused to_mibmr function Gal Pressman
2020-07-05 14:57 ` Leon Romanovsky
2020-07-10 19:40 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).