Commit b06626b899f9ed4fcd686c5185f7313d7119ef98

Authored by françois romieu
Committed by David S. Miller
1 parent 105dcb5979

wimax/i2400m: remove open-coded skb_cow_head.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

drivers/net/wimax/i2400m/netdev.c
... ... @@ -374,8 +374,7 @@
374 374  
375 375 d_fnstart(3, dev, "(skb %p net_dev %p)\n", skb, net_dev);
376 376  
377   - if (skb_header_cloned(skb) &&
378   - pskb_expand_head(skb, 0, 0, GFP_ATOMIC))
  377 + if (skb_cow_head(skb, 0))
379 378 goto drop;
380 379  
381 380 if (i2400m->state == I2400M_SS_IDLE)