summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-03-14 14:40:31 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-03-15 13:40:27 -0400
commit62450b88032287db805ba54de142e58052a98090 (patch)
treec600894bd4a19f5cc33704ee335f0f13381fb95a /drivers/net/wireless/ath/ath9k/main.c
parentbf106e14735d5e82e995c5c03bf07bce54e5d530 (diff)
downloadtalos-obmc-linux-62450b88032287db805ba54de142e58052a98090.tar.gz
talos-obmc-linux-62450b88032287db805ba54de142e58052a98090.zip
ath9k: Remove unused variables
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index db38a4e5a6e3..fe1d7961eefd 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -995,12 +995,8 @@ static int ath9k_start(struct ieee80211_hw *hw)
curchan->center_freq);
ath9k_ps_wakeup(sc);
-
mutex_lock(&sc->mutex);
- /* setup initial channel */
- sc->chan_idx = curchan->hw_value;
-
init_channel = ath9k_cmn_get_curchannel(hw, ah);
/* Reset SERDES registers */
OpenPOWER on IntegriCloud