brcmsmac: phy_lcn: Remove unused variable 'lcnphy_rx_iqcomp_table_rev0'
authorLee Jones <lee.jones@linaro.org>
Thu, 10 Sep 2020 06:54:31 +0000 (07:54 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 16 Sep 2020 05:57:45 +0000 (08:57 +0300)
Fixes the following W=1 kernel build warning(s):

 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:361:25: warning: unused variable 'lcnphy_rx_iqcomp_table_rev0' [-Wunused-const-variable]
 struct lcnphy_rx_iqcomp lcnphy_rx_iqcomp_table_rev0[] = {
                         ^
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200910065431.657636-30-lee.jones@linaro.org
Link: https://lore.kernel.org/r/20200910140505.1168317-1-yanaijie@huawei.com
Link: https://lore.kernel.org/r/20200910035600.21736-1-yuehaibing@huawei.com
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c

index 322bbd71388b7346bc4801e402dbbceefad0a09b..7717eb85a1db6821d256de94ca0af58eee0e4113 100644 (file)
@@ -357,61 +357,6 @@ u16 rxiq_cal_rf_reg[11] = {
        RADIO_2064_REG12A,
 };
 
-static const
-struct lcnphy_rx_iqcomp lcnphy_rx_iqcomp_table_rev0[] = {
-       {1, 0, 0},
-       {2, 0, 0},
-       {3, 0, 0},
-       {4, 0, 0},
-       {5, 0, 0},
-       {6, 0, 0},
-       {7, 0, 0},
-       {8, 0, 0},
-       {9, 0, 0},
-       {10, 0, 0},
-       {11, 0, 0},
-       {12, 0, 0},
-       {13, 0, 0},
-       {14, 0, 0},
-       {34, 0, 0},
-       {38, 0, 0},
-       {42, 0, 0},
-       {46, 0, 0},
-       {36, 0, 0},
-       {40, 0, 0},
-       {44, 0, 0},
-       {48, 0, 0},
-       {52, 0, 0},
-       {56, 0, 0},
-       {60, 0, 0},
-       {64, 0, 0},
-       {100, 0, 0},
-       {104, 0, 0},
-       {108, 0, 0},
-       {112, 0, 0},
-       {116, 0, 0},
-       {120, 0, 0},
-       {124, 0, 0},
-       {128, 0, 0},
-       {132, 0, 0},
-       {136, 0, 0},
-       {140, 0, 0},
-       {149, 0, 0},
-       {153, 0, 0},
-       {157, 0, 0},
-       {161, 0, 0},
-       {165, 0, 0},
-       {184, 0, 0},
-       {188, 0, 0},
-       {192, 0, 0},
-       {196, 0, 0},
-       {200, 0, 0},
-       {204, 0, 0},
-       {208, 0, 0},
-       {212, 0, 0},
-       {216, 0, 0},
-};
-
 static const u32 lcnphy_23bitgaincode_table[] = {
        0x200100,
        0x200200,