Skip to content

Commit a2f73a1

Browse files
Colin Ian KingKalle Valo
Colin Ian King
authored and
Kalle Valo
committed
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent bf05e0f commit a2f73a1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/wireless/ath/ath9k/ar5008_phy.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
#define AR5008_11NG_HT_SS_SHIFT 12
3838
#define AR5008_11NG_HT_DS_SHIFT 20
3939

40-
static const int firstep_table[] =
41-
/* level: 0 1 2 3 4 5 6 7 8 */
42-
{ -4, -2, 0, 2, 4, 6, 8, 10, 12 }; /* lvl 0-8, default 2 */
43-
4440
/*
4541
* register values to turn OFDM weak signal detection OFF
4642
*/

0 commit comments

Comments
 (0)