]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/ethernet/hp/hp100.c
networking: make skb_put & friends return void pointers
[mirror_ubuntu-artful-kernel.git] / drivers / net / ethernet / hp / hp100.c
index 5673b071e39d00b90cd7ceb2383a817e4c0d4317..c6164a98f257b64e848071ddbb16263ace429450 100644 (file)
@@ -1281,7 +1281,7 @@ static int hp100_build_rx_pdl(hp100_ring_t * ringptr,
                 */
                skb_reserve(ringptr->skb, 2);
 
-               ringptr->skb->data = (u_char *) skb_put(ringptr->skb, MAX_ETHER_SIZE);
+               ringptr->skb->data = skb_put(ringptr->skb, MAX_ETHER_SIZE);
 
                /* ringptr->pdl points to the beginning of the PDL, i.e. the PDH */
                /* Note: 1st Fragment is used for the 4 byte packet status