Skip to content

Commit

Permalink
ath9k: Remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Sujith Manoharan authored and John W. Linville committed Mar 15, 2012
1 parent bf106e1 commit 62450b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/ath/ath9k/ath9k.h
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,6 @@ struct ath_softc {
struct ieee80211_hw *hw;
struct device *dev;

int chan_idx;
int chan_is_ht;
struct survey_info *cur_survey;
struct survey_info survey[ATH9K_NUM_CHANNELS];

Expand Down
4 changes: 0 additions & 4 deletions drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 62450b8

Please sign in to comment.