Re: [PATCH] liquidio: remove unused IQ_INSTR_MODE_64B function

From: Simon Horman
Date: Wed Mar 22 2023 - 12:48:37 EST


On Tue, Mar 21, 2023 at 02:48:11PM -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/net/ethernet/cavium/liquidio/request_manager.c:43:19: error:
> unused function 'IQ_INSTR_MODE_64B' [-Werror,-Wunused-function]
> static inline int IQ_INSTR_MODE_64B(struct octeon_device *oct, int iq_no)
> ^
> This function and its macro wrapper are not used, so remove them.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>