]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/mac80211/status.c
networking: make skb_push & __skb_push return void pointers
[mirror_ubuntu-artful-kernel.git] / net / mac80211 / status.c
index a9fa6ee57e8f81728d3034288a0eec27573789b3..da7427a415299e5c18c4c7c00255e80297aab032 100644 (file)
@@ -288,7 +288,7 @@ ieee80211_add_tx_radiotap_header(struct ieee80211_local *local,
        unsigned char *pos;
        u16 txflags;
 
-       rthdr = (struct ieee80211_radiotap_header *) skb_push(skb, rtap_len);
+       rthdr = skb_push(skb, rtap_len);
 
        memset(rthdr, 0, rtap_len);
        rthdr->it_len = cpu_to_le16(rtap_len);