diff options
author | françois romieu <romieu@fr.zoreil.com> | 2014-03-29 07:26:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-29 17:49:47 -0400 |
commit | b06626b899f9ed4fcd686c5185f7313d7119ef98 (patch) | |
tree | c5a1022bb90374197cb46aa8686bd110f49d4de2 /drivers/net/wimax/i2400m/netdev.c | |
parent | 105dcb5979e70fee7a4dbd6505ec89d406258f1a (diff) |
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>
Diffstat (limited to 'drivers/net/wimax/i2400m/netdev.c')
-rw-r--r-- | drivers/net/wimax/i2400m/netdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/netdev.c b/drivers/net/wimax/i2400m/netdev.c index 48896138418f..a9970f1af976 100644 --- a/drivers/net/wimax/i2400m/netdev.c +++ b/drivers/net/wimax/i2400m/netdev.c | |||
@@ -374,8 +374,7 @@ netdev_tx_t i2400m_hard_start_xmit(struct sk_buff *skb, | |||
374 | 374 | ||
375 | d_fnstart(3, dev, "(skb %p net_dev %p)\n", skb, net_dev); | 375 | d_fnstart(3, dev, "(skb %p net_dev %p)\n", skb, net_dev); |
376 | 376 | ||
377 | if (skb_header_cloned(skb) && | 377 | if (skb_cow_head(skb, 0)) |
378 | pskb_expand_head(skb, 0, 0, GFP_ATOMIC)) | ||
379 | goto drop; | 378 | goto drop; |
380 | 379 | ||
381 | if (i2400m->state == I2400M_SS_IDLE) | 380 | if (i2400m->state == I2400M_SS_IDLE) |