diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-15 22:03:29 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-10 00:13:24 +0300 |
commit | 45684c75f9aa80eb477465bddcf79c9ad95206c7 (patch) | |
tree | 221ce163359f938fb8b13a28963ea957ee95ff0f /drivers/char | |
parent | 4df3071ebd92ef7115b409da64d0eb405d24a631 (diff) | |
download | linux-45684c75f9aa80eb477465bddcf79c9ad95206c7.tar.xz |
ath9k_hw: small optimization in ar9002_hw_get_isr
ah->config.rx_intr_mitigation does not need to be checked before checking
the rx interrupt mask for AR_ISR_RXMINTR or AR_ISR_RXINTM, as those
interrupts will be masked out if rx interrupt mitigation is disabled.
Avoid reading AR_ISR_S5_S twice by reordering the code to be more concise.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions