ieee802154: change needed headroom/tailroom
[firefly-linux-kernel-4.4.55.git] / net / mac802154 / tx.c
index 7ed439172f30809d59fb5673131957ca8c25c56c..66d7ecb7c56b24b79464a775fac6fd380d2c4e56 100644 (file)
@@ -77,9 +77,6 @@ ieee802154_tx(struct ieee802154_local *local, struct sk_buff *skb)
                put_unaligned_le16(crc, skb_put(skb, 2));
        }
 
-       if (skb_cow_head(skb, local->hw.extra_tx_headroom))
-               goto err_tx;
-
        /* Stop the netif queue on each sub_if_data object. */
        ieee802154_stop_queue(&local->hw);