diff options
author | Bruno Randolf <br1@einfach.org> | 2010-03-09 07:55:44 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-10 22:44:34 (GMT) |
commit | ff5d96ce622271df430c715ebe3e0b7400059dc1 (patch) | |
tree | 33eea44be9610f115202653bc3bdfea19f4a2742 /drivers/net/wireless/ath/ath5k/desc.c | |
parent | ccfe5552aeb18c87a4d0ecb8cb7512280435bfdd (diff) | |
download | linux-fsl-qoriq-ff5d96ce622271df430c715ebe3e0b7400059dc1.tar.xz |
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.c | 6 |
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 d26126b..aebb31f 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) ah->ah_version != AR5K_AR5212) return -ENOTSUPP; - /* XXX: What is this magic value and where is it used ? */ - if (ah->ah_version == AR5K_AR5212) - ah->ah_magic = AR5K_EEPROM_MAGIC_5212; - else if (ah->ah_version == AR5K_AR5211) - ah->ah_magic = AR5K_EEPROM_MAGIC_5211; - if (ah->ah_version == AR5K_AR5212) { ah->ah_setup_rx_desc = ath5k_hw_setup_rx_desc; ah->ah_setup_tx_desc = ath5k_hw_setup_4word_tx_desc; |