]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - net/802/fddi.c
networking: make skb_push & __skb_push return void pointers
[mirror_ubuntu-hirsute-kernel.git] / net / 802 / fddi.c
index 6356623fc23881e62c551f33124cf12e3229c525..90f1416567a144a63437595b124d46cf5d892d35 100644 (file)
@@ -58,7 +58,7 @@ static int fddi_header(struct sk_buff *skb, struct net_device *dev,
 
        if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP)
                hl=FDDI_K_8022_HLEN-3;
-       fddi = (struct fddihdr *)skb_push(skb, hl);
+       fddi = skb_push(skb, hl);
        fddi->fc                         = FDDI_FC_K_ASYNC_LLC_DEF;
        if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP)
        {