diff options
author | Qasim Javed <qasimj@gmail.com> | 2012-04-05 21:40:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-11 16:23:58 -0400 |
commit | 14dc7852099535d17807e348dd127433413b7e0a (patch) | |
tree | 4a0f7933188afb1be9869bb19abfd8b4a201a215 /drivers/net/wireless/ath | |
parent | 6d52563f2bc217cbdccb97068f5b6176352f01f2 (diff) |
ath5k: Remove extraneous statements from ath5k_hw_proc_4word_tx_status and ath5k_hw_proc_2word_status.
Signed-off-by: Qasim Javed <qasimj@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/desc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath5k/desc.c b/drivers/net/wireless/ath/ath5k/desc.c index 77a60777909f..bd8d4392d68b 100644 --- a/drivers/net/wireless/ath/ath5k/desc.c +++ b/drivers/net/wireless/ath/ath5k/desc.c | |||
@@ -443,10 +443,8 @@ ath5k_hw_proc_2word_tx_status(struct ath5k_hw *ah, | |||
443 | struct ath5k_desc *desc, | 443 | struct ath5k_desc *desc, |
444 | struct ath5k_tx_status *ts) | 444 | struct ath5k_tx_status *ts) |
445 | { | 445 | { |
446 | struct ath5k_hw_2w_tx_ctl *tx_ctl; | ||
447 | struct ath5k_hw_tx_status *tx_status; | 446 | struct ath5k_hw_tx_status *tx_status; |
448 | 447 | ||
449 | tx_ctl = &desc->ud.ds_tx5210.tx_ctl; | ||
450 | tx_status = &desc->ud.ds_tx5210.tx_stat; | 448 | tx_status = &desc->ud.ds_tx5210.tx_stat; |
451 | 449 | ||
452 | /* No frame has been send or error */ | 450 | /* No frame has been send or error */ |
@@ -497,11 +495,9 @@ ath5k_hw_proc_4word_tx_status(struct ath5k_hw *ah, | |||
497 | struct ath5k_desc *desc, | 495 | struct ath5k_desc *desc, |
498 | struct ath5k_tx_status *ts) | 496 | struct ath5k_tx_status *ts) |
499 | { | 497 | { |
500 | struct ath5k_hw_4w_tx_ctl *tx_ctl; | ||
501 | struct ath5k_hw_tx_status *tx_status; | 498 | struct ath5k_hw_tx_status *tx_status; |
502 | u32 txstat0, txstat1; | 499 | u32 txstat0, txstat1; |
503 | 500 | ||
504 | tx_ctl = &desc->ud.ds_tx5212.tx_ctl; | ||
505 | tx_status = &desc->ud.ds_tx5212.tx_stat; | 501 | tx_status = &desc->ud.ds_tx5212.tx_stat; |
506 | 502 | ||
507 | txstat1 = ACCESS_ONCE(tx_status->tx_status_1); | 503 | txstat1 = ACCESS_ONCE(tx_status->tx_status_1); |