Re: [PATCH] brcmsmac: ampdu: remove unused suc_mpdu variable

From: Simon Horman
Date: Tue Mar 28 2023 - 11:12:27 EST


On Mon, Mar 27, 2023 at 11:11:51AM -0400, Tom Rix 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>