aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/desc.c
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-03-09 02:55:44 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-03-10 17:44:34 -0500
commitff5d96ce622271df430c715ebe3e0b7400059dc1 (patch)
tree33eea44be9610f115202653bc3bdfea19f4a2742 /drivers/net/wireless/ath/ath5k/desc.c
parentccfe5552aeb18c87a4d0ecb8cb7512280435bfdd (diff)
ath5k: remove ah_magic
it's never used. probably a leftover from the old OpenHAL days... Signed-off-by: Bruno Randolf <br1@einfach.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/desc.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/desc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath5k/desc.c b/drivers/net/wireless/ath/ath5k/desc.c
index d26126bfacd..aebb31f2834 100644
--- a/drivers/net/wireless/ath/ath5k/desc.c
+++ b/drivers/net/wireless/ath/ath5k/desc.c
@@ -670,12 +670,6 @@ int ath5k_hw_init_desc_functions(struct ath5k_hw *ah)
670 ah->ah_version != AR5K_AR5212) 670 ah->ah_version != AR5K_AR5212)
671 return -ENOTSUPP; 671 return -ENOTSUPP;
672 672
673 /* XXX: What is this magic value and where is it used ? */
674 if (ah->ah_version == AR5K_AR5212)
675 ah->ah_magic = AR5K_EEPROM_MAGIC_5212;
676 else if (ah->ah_version == AR5K_AR5211)
677 ah->ah_magic = AR5K_EEPROM_MAGIC_5211;
678
679 if (ah->ah_version == AR5K_AR5212) { 673 if (ah->ah_version == AR5K_AR5212) {
680 ah->ah_setup_rx_desc = ath5k_hw_setup_rx_desc; 674 ah->ah_setup_rx_desc = ath5k_hw_setup_rx_desc;
681 ah->ah_setup_tx_desc = ath5k_hw_setup_4word_tx_desc; 675 ah->ah_setup_tx_desc = ath5k_hw_setup_4word_tx_desc;