]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Properly use unlikely check macro
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Tue, 7 Dec 2010 15:10:58 +0000 (20:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 22:08:08 +0000 (17:08 -0500)
commit7a9310679c8d616b19cd1db4969844c8fa5974c2
treefbdaee34dbfd5bd41f17af1b1fc156c91731c1ce
parent35a283266e1b4fc91f70bc4825899f9a19e57c9d
ath9k: Properly use unlikely check macro

AUTOSLEEP feature is enabled only for AR9271 and AR9003 version
chipsets.So unlikely macro should be used only to check whether
auto-sleep feature is enabled

Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c