X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=net%2Fmac80211%2Fsta_info.c;h=d9e6e81ff6b2a197a42b1f0372b02741a19c6c59;hb=a70171dce9cd44cb06c7d299eba9fa87a8933045;hp=a03d8a31287550d85e96467bc385e3eb291c35be;hpb=5a412ad7f4c95bb5b756aa12b52646e857e7c75d;p=karo-tx-linux.git diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index a03d8a312875..d9e6e81ff6b2 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c @@ -587,7 +587,6 @@ static bool sta_info_cleanup_expire_buffered(struct ieee80211_local *local, { unsigned long flags; struct sk_buff *skb; - struct ieee80211_sub_if_data *sdata; if (skb_queue_empty(&sta->ps_tx_buf)) return false; @@ -604,7 +603,6 @@ static bool sta_info_cleanup_expire_buffered(struct ieee80211_local *local, if (!skb) break; - sdata = sta->sdata; local->total_ps_buffered--; #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG printk(KERN_DEBUG "Buffered frame expired (STA %pM)\n",