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)
commit180d674bab10ce10747f7bc7214462da185431bd
treecef60e5e879b35cb4060c067244a21f8d1dcd2ac
parentbf466fb67c8e0559ba1875232b03ee8dee32ae09
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