Re: [PATCH for-next v2] RDMA/core/sa_query: Remove unused function

From: Jason Gunthorpe
Date: Thu Aug 19 2021 - 13:47:35 EST


On Wed, Aug 11, 2021 at 07:25:36PM +0200, Håkon Bugge wrote:
> ib_sa_service_rec_query() was introduced in kernel v2.6.13 by commit
> cbae32c56314 ("[PATCH] IB: Add Service Record support to SA client")
> in 2005. It was not used then and have never been used since.
>
> Removing it and related functions/structs.
>
> Signed-off-by: Håkon Bugge <haakon.bugge@xxxxxxxxxx>
> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> ---
> drivers/infiniband/core/sa_query.c | 177 -------------------------------------
> include/rdma/ib_sa.h | 24 -----
> 2 files changed, 201 deletions(-)

Applied to for-next, thanks

Jason