diff options
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index ed27988f9d35..5739bfbf2999 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -2823,7 +2823,6 @@ static int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, | |||
2823 | { | 2823 | { |
2824 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 2824 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
2825 | struct ieee80211_local *local = sdata->local; | 2825 | struct ieee80211_local *local = sdata->local; |
2826 | struct ieee80211_tx_info *info; | ||
2827 | struct sk_buff *skb = NULL; | 2826 | struct sk_buff *skb = NULL; |
2828 | bool send_direct; | 2827 | bool send_direct; |
2829 | int ret; | 2828 | int ret; |
@@ -2849,7 +2848,6 @@ static int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, | |||
2849 | if (!skb) | 2848 | if (!skb) |
2850 | return -ENOMEM; | 2849 | return -ENOMEM; |
2851 | 2850 | ||
2852 | info = IEEE80211_SKB_CB(skb); | ||
2853 | skb_reserve(skb, local->hw.extra_tx_headroom); | 2851 | skb_reserve(skb, local->hw.extra_tx_headroom); |
2854 | 2852 | ||
2855 | switch (action_code) { | 2853 | switch (action_code) { |