OSDN Git Service

ath9k: ar9330_1p1_initvals: Remove unused const variable 'ar9331_common_tx_gain_offse...
authorLee Jones <lee.jones@linaro.org>
Mon, 2 Nov 2020 11:23:39 +0000 (11:23 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 08:07:39 +0000 (10:07 +0200)
Fixes the following W=1 kernel build warning(s):

 drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h:1013:18: warning: ‘ar9331_common_tx_gain_offset1_1’ defined but not used [-Wunused-const-variable=]

Cc: QCA ath9k Development <ath9k-devel@qca.qualcomm.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: 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/20201102112410.1049272-11-lee.jones@linaro.org
drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h

index 29479af..3e783fc 100644 (file)
@@ -1010,11 +1010,4 @@ static const u32 ar9331_common_rx_gain_1p1[][2] = {
        {0x0000a1fc, 0x00000296},
 };
 
-static const u32 ar9331_common_tx_gain_offset1_1[][1] = {
-       {0x00000000},
-       {0x00000003},
-       {0x00000000},
-       {0x00000000},
-};
-
 #endif /* INITVALS_9330_1P1_H */