Re: [PATCH] mwifiex: remove unused evt_buf variable

Simon Horman
2023-03-29T13:44:45Z

On Wed, Mar 29, 2023 at 09:14:44AM -0400, Tom Rix 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@redhat.com>

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