Re: wifi: mwifiex: remove unused evt_buf variable

From: Kalle Valo
Date: Fri Mar 31 2023 - 10:55:25 EST


Tom Rix <trix@xxxxxxxxxx> wrote:

> clang with W=1 reports
> drivers/net/wireless/marvell/mwifiex/11h.c:198:6: error: variable
> 'evt_buf' set but not used [-Werror,-Wunused-but-set-variable]
> u8 *evt_buf;
> ^
> This variable is not used so remove it.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
> Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

074d0a1ae1fe wifi: mwifiex: remove unused evt_buf variable

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

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