Lee Jones <[email protected]> wrote: > Fixes the following W=1 kernel build warning(s): > > In file included from > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:11: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c: In function > ‘wlc_lcnphy_rx_iq_cal’: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:1366:29: > warning: variable ‘RFOverride0_old’ set but not used > [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c: In function > ‘wlc_lcnphy_radio_2064_channel_tune_4313’: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:1667:21: > warning: variable ‘qFvco’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:1667:14: > warning: variable ‘qFref’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:1667:6: > warning: variable ‘qFxtal’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c: In function > ‘wlc_lcnphy_idle_tssi_est’: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:2856:6: > warning: variable ‘idleTssi’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c: In function > ‘wlc_lcnphy_tx_iqlo_soft_cal_full’: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:3861:53: > warning: variable ‘locc4’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:3861:46: > warning: variable ‘locc3’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:3861:39: > warning: variable ‘locc2’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:3861:32: > warning: variable ‘iqcc0’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c: In function > ‘wlc_lcnphy_periodic_cal’: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:4196:6: > warning: variable ‘rx_iqcomp_sz’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:4195:33: > warning: variable ‘rx_iqcomp’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:4194:16: > warning: variable ‘full_cal’ set but not used [-Wunused-but-set-variable] > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c: In function > ‘wlc_phy_txpwr_srom_read_lcnphy’: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:4919:7: > warning: variable ‘opo’ set but not used [-Wunused-but-set-variable] > > Cc: Arend van Spriel <[email protected]> > Cc: Franky Lin <[email protected]> > Cc: Hante Meuleman <[email protected]> > Cc: Chi-Hsien Lin <[email protected]> > Cc: Wright Feng <[email protected]> > Cc: Kalle Valo <[email protected]> > Cc: "David S. Miller" <[email protected]> > Cc: Jakub Kicinski <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Lee Jones <[email protected]>
4 patches applied to wireless-drivers-next.git, thanks. 38c95e0258a0 brcmsmac: phy_lcn: Remove a bunch of unused variables a36e4e4a898b brcmsmac: phy_n: Remove a bunch of unused variables ebcfc66f56a4 brcmsmac: phytbl_lcn: Remove unused array 'dot11lcnphytbl_rx_gain_info_rev1' e1920d6ae6bd brcmsmac: phytbl_n: Remove a few unused arrays -- https://patchwork.kernel.org/patch/11737697/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
