mirror of https://gitee.com/openkylin/linux.git
brcmsmac: phytbl_lcn: Remove unused array 'dot11lcnphytbl_rx_gain_info_rev1'
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c:1510:33: warning: ‘dot11lcnphytbl_rx_gain_info_rev1’ defined but not used [-Wunused-const-variable=] Cc: Arend van Spriel <arend.vanspriel@broadcom.com> Cc: Franky Lin <franky.lin@broadcom.com> Cc: Hante Meuleman <hante.meuleman@broadcom.com> Cc: Chi-Hsien Lin <chi-hsien.lin@cypress.com> Cc: Wright Feng <wright.feng@cypress.com> Cc: Kalle Valo <kvalo@codeaurora.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: linux-wireless@vger.kernel.org Cc: brcm80211-dev-list.pdl@broadcom.com Cc: brcm80211-dev-list@cypress.com Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200826093401.1458456-30-lee.jones@linaro.org
This commit is contained in:
parent
a36e4e4a89
commit
ebcfc66f56
|
@ -1507,19 +1507,6 @@ const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev0[] = {
|
|||
,
|
||||
};
|
||||
|
||||
static const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev1[] = {
|
||||
{&dot11lcn_gain_tbl_rev1,
|
||||
ARRAY_SIZE(dot11lcn_gain_tbl_rev1), 18,
|
||||
0, 32}
|
||||
,
|
||||
{&dot11lcn_aux_gain_idx_tbl_rev0,
|
||||
ARRAY_SIZE(dot11lcn_aux_gain_idx_tbl_rev0), 14, 0, 16}
|
||||
,
|
||||
{&dot11lcn_gain_idx_tbl_rev0,
|
||||
ARRAY_SIZE(dot11lcn_gain_idx_tbl_rev0), 13, 0, 32}
|
||||
,
|
||||
};
|
||||
|
||||
const struct phytbl_info dot11lcnphytbl_rx_gain_info_2G_rev2[] = {
|
||||
{&dot11lcn_gain_tbl_2G,
|
||||
ARRAY_SIZE(dot11lcn_gain_tbl_2G), 18, 0,
|
||||
|
|
Loading…
Reference in New Issue