aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-24 07:56:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-03-24 16:04:33 -0400
commit14b44974d5a3c1ca59f6809b7313d7229eb55fd8 (patch)
treef1b8f13d2a558344da3e3669247fc7259027bc9b /net/mac80211/tx.c
parent4ac5541bdaea4d8e93710c58775cfa48ac82e09b (diff)
mac80211: remove unneed variable from ieee80211_tx_pending()
We don't need "sdata" any more after: d84f323477260e773d5317ad7cbe50f76115cb47 mac80211: remove dev_hold/put calls Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index cbe53ed4fb0b..08e1f17a4226 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -2010,14 +2010,12 @@ void ieee80211_tx_pending(unsigned long data)
2010 while (!skb_queue_empty(&local->pending[i])) { 2010 while (!skb_queue_empty(&local->pending[i])) {
2011 struct sk_buff *skb = __skb_dequeue(&local->pending[i]); 2011 struct sk_buff *skb = __skb_dequeue(&local->pending[i]);
2012 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); 2012 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
2013 struct ieee80211_sub_if_data *sdata;
2014 2013
2015 if (WARN_ON(!info->control.vif)) { 2014 if (WARN_ON(!info->control.vif)) {
2016 kfree_skb(skb); 2015 kfree_skb(skb);
2017 continue; 2016 continue;
2018 } 2017 }
2019 2018
2020 sdata = vif_to_sdata(info->control.vif);
2021 spin_unlock_irqrestore(&local->queue_stop_reason_lock, 2019 spin_unlock_irqrestore(&local->queue_stop_reason_lock,
2022 flags); 2020 flags);
2023 2021