]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/mac80211/mesh_ps.c
networking: make skb_put & friends return void pointers
[mirror_ubuntu-artful-kernel.git] / net / mac80211 / mesh_ps.c
index 96c987e641b3682ec925378d30bcc4af2a76462c..d8cd91424175bfeed7749f85eb0141266a8895b1 100644 (file)
@@ -30,7 +30,7 @@ static struct sk_buff *mps_qos_null_get(struct sta_info *sta)
                return NULL;
        skb_reserve(skb, local->hw.extra_tx_headroom);
 
-       nullfunc = (struct ieee80211_hdr *) skb_put(skb, size);
+       nullfunc = skb_put(skb, size);
        fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_QOS_NULLFUNC);
        ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr,
                                      sdata->vif.addr);