From: Felix Fietkau Date: Fri, 15 Oct 2010 18:03:29 +0000 (+0200) Subject: ath9k_hw: small optimization in ar9002_hw_get_isr X-Git-Tag: v2.6.38-rc1~476^2~558^2~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45684c75f9aa80eb477465bddcf79c9ad95206c7;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed