Re: wifi: brcmsmac: ampdu: remove unused suc_mpdu variable
From: Kalle Valo
Date: Fri Mar 31 2023 - 10:54:58 EST
Tom Rix <trix@xxxxxxxxxx> wrote:
> clang with W=1 reports
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c:848:5: error: variable
> 'suc_mpdu' set but not used [-Werror,-Wunused-but-set-variable]
> u8 suc_mpdu = 0, tot_mpdu = 0;
> ^
> 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.
2f73f04b7f93 wifi: brcmsmac: ampdu: remove unused suc_mpdu variable
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230327151151.1771350-1-trix@xxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches