YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:1202:5: warning: variable 'phybw40' set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:4625:5: warning: variable 'phybw40' set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:4834:5: warning: variable 'phybw40' set but not used [-Wunused-but-set-variable] > > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:3085:17: warning: variable 'maxtargetpwr' set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:4215:17: warning: variable 'maxtargetpwr' set but not used [-Wunused-but-set-variable] > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 6375d40322f0 brcmsmac: remove set but not used variables 'phybw40, maxtargetpwr' -- https://patchwork.kernel.org/patch/10738529/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches