Re: [PATCH] brcmsmac: remove set but not used variables 'phybw40, maxtargetpwr'
From: Kalle Valo <hidden>
Date: 2019-01-10 11:31:12
Also in:
linux-wireless, lkml
From: Kalle Valo <hidden>
Date: 2019-01-10 11:31:12
Also in:
linux-wireless, lkml
YueHaibing [off-list ref] 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 <redacted>
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