diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 666c112efb55..e9a6d93a194f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1574,18 +1574,6 @@ out_kfree_skb: | |||
1574 | return 0; | 1574 | return 0; |
1575 | } | 1575 | } |
1576 | 1576 | ||
1577 | #define HARD_TX_LOCK(dev, cpu) { \ | ||
1578 | if ((dev->features & NETIF_F_LLTX) == 0) { \ | ||
1579 | netif_tx_lock(dev); \ | ||
1580 | } \ | ||
1581 | } | ||
1582 | |||
1583 | #define HARD_TX_UNLOCK(dev) { \ | ||
1584 | if ((dev->features & NETIF_F_LLTX) == 0) { \ | ||
1585 | netif_tx_unlock(dev); \ | ||
1586 | } \ | ||
1587 | } | ||
1588 | |||
1589 | /** | 1577 | /** |
1590 | * dev_queue_xmit - transmit a buffer | 1578 | * dev_queue_xmit - transmit a buffer |
1591 | * @skb: buffer to transmit | 1579 | * @skb: buffer to transmit |