Re: [PATCH] mwifiex: remove unused evt_buf variable
From: Simon Horman
Date: Wed Mar 29 2023 - 09:44:45 EST
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@xxxxxxxxxx>
Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>