]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/mac80211/tx.c
networking: make skb_put & friends return void pointers
[mirror_ubuntu-artful-kernel.git] / net / mac80211 / tx.c
index 18c5d6e6305ddd104c5fe55e5287f63c6f8d114b..ec5a9a72797efb0f905e0bfec42c7a88bf6202e7 100644 (file)
@@ -3874,7 +3874,7 @@ static void __ieee80211_beacon_add_tim(struct ieee80211_sub_if_data *sdata,
                        ps->dtim_count--;
        }
 
-       tim = pos = (u8 *) skb_put(skb, 6);
+       tim = pos = skb_put(skb, 6);
        *pos++ = WLAN_EID_TIM;
        *pos++ = 4;
        *pos++ = ps->dtim_count;