projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac5541
)
mac80211: remove unneed variable from ieee80211_tx_pending()
author
Dan Carpenter
<
[email protected]
>
Wed, 24 Mar 2010 11:56:41 +0000
(14:56 +0300)
committer
John W. Linville
<
[email protected]
>
Wed, 24 Mar 2010 20:04:33 +0000
(16:04 -0400)
We don't need "sdata" any more after:
d84f323477260e773d5317ad7cbe50f76115cb47
mac80211: remove dev_hold/put calls
Signed-off-by: Dan Carpenter <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
net/mac80211/tx.c
patch
|
blob
|
history
diff --git
a/net/mac80211/tx.c
b/net/mac80211/tx.c
index cbe53ed4fb0b14b9f95a8db5b21e73d673d9b09a..08e1f17a4226be1c9c564fb46eb89c7bf1162f4f 100644
(file)
--- a/
net/mac80211/tx.c
+++ b/
net/mac80211/tx.c
@@
-2010,14
+2010,12
@@
void ieee80211_tx_pending(unsigned long data)
while (!skb_queue_empty(&local->pending[i])) {
struct sk_buff *skb = __skb_dequeue(&local->pending[i]);
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
- struct ieee80211_sub_if_data *sdata;
if (WARN_ON(!info->control.vif)) {
kfree_skb(skb);
continue;
}
- sdata = vif_to_sdata(info->control.vif);
spin_unlock_irqrestore(&local->queue_stop_reason_lock,
flags);