aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.h
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2011-01-19 18:21:08 +0900
committerJohn W. Linville <linville@tuxdriver.com>2011-01-21 15:35:46 -0500
commit4b3721ceb3c1f9b032c6eeb108e44692efbcacef (patch)
tree7769582ed63792c9dadc14e55c27e161d3e1036a /drivers/net/wireless/ath/ath5k/base.h
parentath5: Remove unused CTL definitions (diff)
downloadlinux-dev-4b3721ceb3c1f9b032c6eeb108e44692efbcacef.tar.xz
linux-dev-4b3721ceb3c1f9b032c6eeb108e44692efbcacef.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h
index 6d511476e4d2..58660e4d274a 100644
--- a/drivers/net/wireless/ath/ath5k/base.h
+++ b/drivers/net/wireless/ath/ath5k/base.h
@@ -202,7 +202,6 @@ struct ath5k_softc {
#define ATH_STAT_STARTED 4 /* opened & irqs enabled */
unsigned int filter_flags; /* HW flags, AR5K_RX_FILTER_* */
- unsigned int curmode; /* current phy mode */
struct ieee80211_channel *curchan; /* current h/w channel */
u16 nvifs;