Re: wifi: ipw2x00: remove unused _ipw_read16 function

From: Kalle Valo
Date: Fri Mar 31 2023 - 10:44:20 EST


Tom Rix <trix@xxxxxxxxxx> wrote:

> clang with W=1 reports
> drivers/net/wireless/intel/ipw2x00/ipw2200.c:381:19: error:
> unused function '_ipw_read16' [-Werror,-Wunused-function]
> static inline u16 _ipw_read16(struct ipw_priv *ipw, unsigned long ofs)
> ^
> This function and its wrapping marco are not used, so remove them.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

c7e39d70613c wifi: ipw2x00: remove unused _ipw_read16 function

--
https://patchwork.kernel.org/project/linux-wireless/patch/20230319135418.1703380-1-trix@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches