diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-08-14 03:56:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:04 -0400 |
commit | dc2222a85fd63103b9aad0d4b77c4d87b78c58a2 (patch) | |
tree | 644f54a9be7f6a6ed63df549bf31be8e44b4200c /drivers/net/wireless/ath9k/hw.c | |
parent | 927e70e9244e6ecdc7c28bc5424b0b8c11dee314 (diff) |
ath9k: Random cleanup
Remove dead code, add newlines, fix indentation.
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath9k/hw.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index 24b78c2eb44b..7d8c908d69d5 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c | |||
@@ -7654,8 +7654,7 @@ bool ath9k_hw_resettxqueue(struct ath_hal *ah, u32 q) | |||
7654 | REG_WRITE(ah, AR_DRETRY_LIMIT(q), | 7654 | REG_WRITE(ah, AR_DRETRY_LIMIT(q), |
7655 | SM(INIT_SSH_RETRY, AR_D_RETRY_LIMIT_STA_SH) | 7655 | SM(INIT_SSH_RETRY, AR_D_RETRY_LIMIT_STA_SH) |
7656 | | SM(INIT_SLG_RETRY, AR_D_RETRY_LIMIT_STA_LG) | 7656 | | SM(INIT_SLG_RETRY, AR_D_RETRY_LIMIT_STA_LG) |
7657 | | SM(qi->tqi_shretry, AR_D_RETRY_LIMIT_FR_SH) | 7657 | | SM(qi->tqi_shretry, AR_D_RETRY_LIMIT_FR_SH)); |
7658 | ); | ||
7659 | 7658 | ||
7660 | REG_WRITE(ah, AR_QMISC(q), AR_Q_MISC_DCU_EARLY_TERM_REQ); | 7659 | REG_WRITE(ah, AR_QMISC(q), AR_Q_MISC_DCU_EARLY_TERM_REQ); |
7661 | REG_WRITE(ah, AR_DMISC(q), | 7660 | REG_WRITE(ah, AR_DMISC(q), |
@@ -8300,15 +8299,7 @@ struct ath_hal *ath9k_hw_attach(u16 devid, | |||
8300 | *error = -ENXIO; | 8299 | *error = -ENXIO; |
8301 | break; | 8300 | break; |
8302 | } | 8301 | } |
8303 | if (ah != NULL) { | 8302 | |
8304 | ah->ah_devid = ah->ah_devid; | ||
8305 | ah->ah_subvendorid = ah->ah_subvendorid; | ||
8306 | ah->ah_macVersion = ah->ah_macVersion; | ||
8307 | ah->ah_macRev = ah->ah_macRev; | ||
8308 | ah->ah_phyRev = ah->ah_phyRev; | ||
8309 | ah->ah_analog5GhzRev = ah->ah_analog5GhzRev; | ||
8310 | ah->ah_analog2GhzRev = ah->ah_analog2GhzRev; | ||
8311 | } | ||
8312 | return ah; | 8303 | return ah; |
8313 | } | 8304 | } |
8314 | 8305 | ||