Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: wifi: mwifiex: remove unused evt_buf variable | From | Kalle Valo <> | Date | Fri, 31 Mar 2023 14:54:25 +0000 (UTC) |
| |
Tom Rix <trix@redhat.com> 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>
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@redhat.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| ![\](/images/icornerr.gif) |