ath5k: Remove unused sc->curmode
authorBruno Randolf <br1@einfach.org>
Wed, 19 Jan 2011 09:21:08 +0000 (18:21 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Jan 2011 20:35:46 +0000 (15:35 -0500)
commit4b3721ceb3c1f9b032c6eeb108e44692efbcacef
tree7769582ed63792c9dadc14e55c27e161d3e1036a
parent75f9569bfc4f3b138d196091b85c91678183520e
ath5k: Remove unused sc->curmode

sc->curmode is set but never used. Remove it and the helper function. Also the
ath5k_rate_update which is refered to in the comment does not exist (any more?)
so we don't need to setup the band in that place.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h