diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-03-30 05:58:22 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:29 -0400 |
commit | bdbdf46daa6dccb472f56559854477faddc44de9 (patch) | |
tree | 24e6968f86689aab0e4db417e4d4f7205ad2911e /drivers/net/wireless/ath9k/main.c | |
parent | 8782b41d13c8e5f9a201477d3c15edf9fe7c372c (diff) |
ath9k: Remove a few unused flags
This patch removes unused HW capability flags and
HW operation variables, and a chainmask flag that
we don't use anywhere.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 97cf83fa8555..74fe777b54e4 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -287,7 +287,6 @@ int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw, | |||
287 | } | 287 | } |
288 | spin_unlock_bh(&sc->sc_resetlock); | 288 | spin_unlock_bh(&sc->sc_resetlock); |
289 | 289 | ||
290 | sc->sc_flags &= ~SC_OP_CHAINMASK_UPDATE; | ||
291 | sc->sc_flags &= ~SC_OP_FULL_RESET; | 290 | sc->sc_flags &= ~SC_OP_FULL_RESET; |
292 | 291 | ||
293 | if (ath_startrecv(sc) != 0) { | 292 | if (ath_startrecv(sc) != 0) { |
@@ -416,7 +415,6 @@ set_timer: | |||
416 | */ | 415 | */ |
417 | void ath_update_chainmask(struct ath_softc *sc, int is_ht) | 416 | void ath_update_chainmask(struct ath_softc *sc, int is_ht) |
418 | { | 417 | { |
419 | sc->sc_flags |= SC_OP_CHAINMASK_UPDATE; | ||
420 | if (is_ht || | 418 | if (is_ht || |
421 | (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_BT_COEX)) { | 419 | (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_BT_COEX)) { |
422 | sc->tx_chainmask = sc->sc_ah->caps.tx_chainmask; | 420 | sc->tx_chainmask = sc->sc_ah->caps.tx_chainmask; |