]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/mac80211/sta_info.c
networking: make skb_put & friends return void pointers
[mirror_ubuntu-artful-kernel.git] / net / mac80211 / sta_info.c
index 46e1809356f63ab7f6cac1935bc6e4f044d9d729..69615016d5bf60cb89f46056f3faf7c6f2fd3ce4 100644 (file)
@@ -1312,7 +1312,7 @@ static void ieee80211_send_null_response(struct sta_info *sta, int tid,
 
        skb_reserve(skb, local->hw.extra_tx_headroom);
 
-       nullfunc = (void *) skb_put(skb, size);
+       nullfunc = skb_put(skb, size);
        nullfunc->frame_control = fc;
        nullfunc->duration_id = 0;
        memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN);