]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Remove local chainmask variable
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 7 Aug 2009 04:15:33 +0000 (09:45 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:35 +0000 (09:13 -0400)
commita7bb92649334b5734a3fcc9e0ac22d8c2465127e
treecef60e5e879b35cb4060c067244a21f8d1dcd2ac
parent767937784a431e8d246fea6344209e48486321ab
ath9k: Remove local chainmask variable

The chainmask can be obtained directly from ath_hw.
Also, use a helper macro for comparing CTLs - this improves readability.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/eeprom_4k.c