summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-08-16 13:50:30 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-08-28 16:44:35 +0300
commita2f73a167dc1d4940c59099c18d23c15ac9aee71 (patch)
treebd3a174bed3045f964aeb5b0b2e625963c71efb3
parentbf05e0fe7da443a518db883112d4485ae65ba9d7 (diff)
downloadtalos-op-linux-a2f73a167dc1d4940c59099c18d23c15ac9aee71.tar.gz
talos-op-linux-a2f73a167dc1d4940c59099c18d23c15ac9aee71.zip
ath9k: remove unused array firstep_table
Array firstep_table is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: 'firstep_table' defined but not used [-Wunused-const-variable=] Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/ath/ath9k/ar5008_phy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar5008_phy.c b/drivers/net/wireless/ath/ath9k/ar5008_phy.c
index ef2dd68d3f77..11d6f975c87d 100644
--- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c
@@ -37,10 +37,6 @@
#define AR5008_11NG_HT_SS_SHIFT 12
#define AR5008_11NG_HT_DS_SHIFT 20
-static const int firstep_table[] =
-/* level: 0 1 2 3 4 5 6 7 8 */
- { -4, -2, 0, 2, 4, 6, 8, 10, 12 }; /* lvl 0-8, default 2 */
-
/*
* register values to turn OFDM weak signal detection OFF
*/
OpenPOWER on IntegriCloud