ath5k: Simplify loop when setting up channels
authorBruno Randolf <br1@einfach.org>
Fri, 21 Jan 2011 03:19:52 +0000 (12:19 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Jan 2011 21:21:42 +0000 (16:21 -0500)
commit2b1351a30705925ed06b41ec98a6fbaad4ba4d6f
tree8e873044d45bdfd399f5a0b0c0a509d3eebf95d4
parentd7e86c3219a1287dd1350a590ee79c8753ff2420
ath5k: Simplify loop when setting up channels

Simplify confusing code and get rid of an unnecessary variable.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c