diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-20 21:51:57 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-23 01:05:31 +0400 |
commit | f5ffe23aa0a8f6512952cf393daf86cbd6e4685d (patch) | |
tree | 3f2b6e129f15b077172ed090ce5f7b2109f0248b /drivers/net/wireless/ath/ath9k/hw.c | |
parent | 0166b4beec575f9740b7a0843675173c2e00cdbc (diff) | |
download | linux-f5ffe23aa0a8f6512952cf393daf86cbd6e4685d.tar.xz |
ath9k_hw: remove ath9k_hw_ani_setup and its variables
They are no longer needed for ANI functionality
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 0d84c1cd354f..42cf3c7f1e25 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -549,10 +549,8 @@ static int ath9k_hw_post_init(struct ath_hw *ah) ah->eep_ops->get_eeprom_ver(ah), ah->eep_ops->get_eeprom_rev(ah)); - if (ah->config.enable_ani) { - ath9k_hw_ani_setup(ah); + if (ah->config.enable_ani) ath9k_hw_ani_init(ah); - } return 0; } |