Commit a2f73a16 authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent bf05e0fe
...@@ -37,10 +37,6 @@ ...@@ -37,10 +37,6 @@
#define AR5008_11NG_HT_SS_SHIFT 12 #define AR5008_11NG_HT_SS_SHIFT 12
#define AR5008_11NG_HT_DS_SHIFT 20 #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 * register values to turn OFDM weak signal detection OFF
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment