diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ani.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ani.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c index 2e31c775351f..5a1f4f511bc1 100644 --- a/drivers/net/wireless/ath/ath9k/ani.c +++ b/drivers/net/wireless/ath/ath9k/ani.c | |||
@@ -899,12 +899,6 @@ void ath9k_hw_ani_init(struct ath_hw *ah) | |||
899 | * check here default level should not modify INI setting. | 899 | * check here default level should not modify INI setting. |
900 | */ | 900 | */ |
901 | if (use_new_ani(ah)) { | 901 | if (use_new_ani(ah)) { |
902 | const struct ani_ofdm_level_entry *entry_ofdm; | ||
903 | const struct ani_cck_level_entry *entry_cck; | ||
904 | |||
905 | entry_ofdm = &ofdm_level_table[ATH9K_ANI_OFDM_DEF_LEVEL]; | ||
906 | entry_cck = &cck_level_table[ATH9K_ANI_CCK_DEF_LEVEL]; | ||
907 | |||
908 | ah->aniperiod = ATH9K_ANI_PERIOD_NEW; | 902 | ah->aniperiod = ATH9K_ANI_PERIOD_NEW; |
909 | ah->config.ani_poll_interval = ATH9K_ANI_POLLINTERVAL_NEW; | 903 | ah->config.ani_poll_interval = ATH9K_ANI_POLLINTERVAL_NEW; |
910 | } else { | 904 | } else { |