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

From: Leon Romanovsky
Date: Thu Aug 12 2021 - 04:35:54 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>
> ---
> drivers/infiniband/core/sa_query.c | 177 -------------------------------------
> include/rdma/ib_sa.h | 24 -----
> 2 files changed, 201 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>