diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-04-20 09:30:34 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-25 22:50:14 +0400 |
commit | 0ff2b5c05d4dd84222a8e163335c5b550e2ca195 (patch) | |
tree | 0838c388f191ff550e099101452ed3f4018a6e74 /drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | |
parent | 3c35c84a70fc7d76cf7d975481fcb30468c68818 (diff) | |
download | linux-0ff2b5c05d4dd84222a8e163335c5b550e2ca195.tar.xz |
ath9k: Fix warnings from -Wunused-but-set-variable
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_txrx.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index 723a3a9c5cd9..a898dac22337 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c @@ -446,7 +446,6 @@ static void ath9k_htc_tx_process(struct ath9k_htc_priv *priv, struct ieee80211_tx_info *tx_info; struct ieee80211_tx_rate *rate; struct ieee80211_conf *cur_conf = &priv->hw->conf; - struct ieee80211_supported_band *sband; bool txok; int slot; @@ -461,7 +460,6 @@ static void ath9k_htc_tx_process(struct ath9k_htc_priv *priv, tx_info = IEEE80211_SKB_CB(skb); vif = tx_info->control.vif; rate = &tx_info->status.rates[0]; - sband = priv->hw->wiphy->bands[cur_conf->channel->band]; memset(&tx_info->status, 0, sizeof(tx_info->status)); |