diff options
Diffstat (limited to 'drivers/net/8139too.c')
-rw-r--r-- | drivers/net/8139too.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c index 0e2ba21d4441..b39ec98345ea 100644 --- a/drivers/net/8139too.c +++ b/drivers/net/8139too.c | |||
@@ -1707,7 +1707,7 @@ static int rtl8139_start_xmit (struct sk_buff *skb, struct net_device *dev) | |||
1707 | } else { | 1707 | } else { |
1708 | dev_kfree_skb(skb); | 1708 | dev_kfree_skb(skb); |
1709 | dev->stats.tx_dropped++; | 1709 | dev->stats.tx_dropped++; |
1710 | return 0; | 1710 | return NETDEV_TX_OK; |
1711 | } | 1711 | } |
1712 | 1712 | ||
1713 | spin_lock_irqsave(&tp->lock, flags); | 1713 | spin_lock_irqsave(&tp->lock, flags); |
@@ -1732,7 +1732,7 @@ static int rtl8139_start_xmit (struct sk_buff *skb, struct net_device *dev) | |||
1732 | pr_debug("%s: Queued Tx packet size %u to slot %d.\n", | 1732 | pr_debug("%s: Queued Tx packet size %u to slot %d.\n", |
1733 | dev->name, len, entry); | 1733 | dev->name, len, entry); |
1734 | 1734 | ||
1735 | return 0; | 1735 | return NETDEV_TX_OK; |
1736 | } | 1736 | } |
1737 | 1737 | ||
1738 | 1738 | ||