public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] RDMA/mlx5: Remove two unused declarations
@ 2024-08-16 10:13 Yue Haibing
  2024-08-19 18:33 ` Jason Gunthorpe
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2024-08-16 10:13 UTC (permalink / raw)
  To: leon, jgg; +Cc: linux-rdma, linux-kernel, yuehaibing

Commit e6fb246ccafb ("RDMA/mlx5: Consolidate MR destruction to
mlx5_ib_dereg_mr()") removed mlx5_ib_free_implicit_mr() but leave
the declaration. And commit d98995b4bf98 ("net/mlx5: Reimplement
write combining test") leave mlx5_ib_test_wc().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/infiniband/hw/mlx5/mlx5_ib.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h
index be83a4d91a34..c0b1a9cd752b 100644
--- a/drivers/infiniband/hw/mlx5/mlx5_ib.h
+++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h
@@ -1372,7 +1372,6 @@ int mlx5_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
 int mlx5_ib_dealloc_mw(struct ib_mw *mw);
 struct mlx5_ib_mr *mlx5_ib_alloc_implicit_mr(struct mlx5_ib_pd *pd,
 					     int access_flags);
-void mlx5_ib_free_implicit_mr(struct mlx5_ib_mr *mr);
 void mlx5_ib_free_odp_mr(struct mlx5_ib_mr *mr);
 struct ib_mr *mlx5_ib_rereg_user_mr(struct ib_mr *ib_mr, int flags, u64 start,
 				    u64 length, u64 virt_addr, int access_flags,
@@ -1653,8 +1652,6 @@ static inline void mlx5r_deref_wait_odp_mkey(struct mlx5_ib_mkey *mmkey)
 	wait_event(mmkey->wait, refcount_read(&mmkey->usecount) == 0);
 }
 
-int mlx5_ib_test_wc(struct mlx5_ib_dev *dev);
-
 static inline bool mlx5_ib_lag_should_assign_affinity(struct mlx5_ib_dev *dev)
 {
 	/*
-- 
2.34.1


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

* Re: [PATCH -next] RDMA/mlx5: Remove two unused declarations
  2024-08-16 10:13 [PATCH -next] RDMA/mlx5: Remove two unused declarations Yue Haibing
@ 2024-08-19 18:33 ` Jason Gunthorpe
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2024-08-19 18:33 UTC (permalink / raw)
  To: Yue Haibing; +Cc: leon, linux-rdma, linux-kernel

On Fri, Aug 16, 2024 at 06:13:58PM +0800, Yue Haibing wrote:
> Commit e6fb246ccafb ("RDMA/mlx5: Consolidate MR destruction to
> mlx5_ib_dereg_mr()") removed mlx5_ib_free_implicit_mr() but leave
> the declaration. And commit d98995b4bf98 ("net/mlx5: Reimplement
> write combining test") leave mlx5_ib_test_wc().
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/infiniband/hw/mlx5/mlx5_ib.h | 3 ---
>  1 file changed, 3 deletions(-)

Applied to for-next, thanks

Jason

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

end of thread, other threads:[~2024-08-19 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16 10:13 [PATCH -next] RDMA/mlx5: Remove two unused declarations Yue Haibing
2024-08-19 18:33 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox