summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorFelix Fietkau2013-01-20 18:51:57 +0100
committerJohn W. Linville2013-01-22 22:05:31 +0100
commitf5ffe23aa0a8f6512952cf393daf86cbd6e4685d (patch)
tree3f2b6e129f15b077172ed090ce5f7b2109f0248b /drivers/net/wireless/ath/ath9k/hw.c
parentath9k_hw: make the initval parameter to ath9k_hw_write_array const (diff)
downloadkernel-qcow2-linux-f5ffe23aa0a8f6512952cf393daf86cbd6e4685d.tar.gz
kernel-qcow2-linux-f5ffe23aa0a8f6512952cf393daf86cbd6e4685d.tar.xz
kernel-qcow2-linux-f5ffe23aa0a8f6512952cf393daf86cbd6e4685d.zip
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.c4
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;
}