Subject: Re: [PATCH] brcmfmac: remove set but not used variables 'sfdoff' and 'pad_size'

From: Kalle Valo <[email-masked]>
Date: Thu, 20 Sep 2018 12:11:26 +0000 (UTC)

YueHaibing <[email-masked]> wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_rxglom':
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:1466:11: warning:
>  variable 'sfdoff' set but not used [-Wunused-but-set-variable]
> 
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_bus_preinit':
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:3408:7: warning:
>  variable 'pad_size' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: YueHaibing <[email-masked]>

Patch applied to wireless-drivers-next.git, thanks.

a8254fa4ba60 brcmfmac: remove set but not used variables 'sfdoff' and 'pad_size'

-- 
https://patchwork.kernel.org/patch/10595033/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches