aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixp2000
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixp2000')
-rw-r--r--drivers/net/ixp2000/ixpdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixp2000/ixpdev.c b/drivers/net/ixp2000/ixpdev.c
index 2a0174b62e96..588b44d944ce 100644
--- a/drivers/net/ixp2000/ixpdev.c
+++ b/drivers/net/ixp2000/ixpdev.c
@@ -45,7 +45,7 @@ static int ixpdev_xmit(struct sk_buff *skb, struct net_device *dev)
45 if (unlikely(skb->len > PAGE_SIZE)) { 45 if (unlikely(skb->len > PAGE_SIZE)) {
46 /* @@@ Count drops. */ 46 /* @@@ Count drops. */
47 dev_kfree_skb(skb); 47 dev_kfree_skb(skb);
48 return 0; 48 return NETDEV_TX_OK;
49 } 49 }
50 50
51 entry = tx_pointer; 51 entry = tx_pointer;
@@ -69,7 +69,7 @@ static int ixpdev_xmit(struct sk_buff *skb, struct net_device *dev)
69 netif_stop_queue(dev); 69 netif_stop_queue(dev);
70 local_irq_enable(); 70 local_irq_enable();
71 71
72 return 0; 72 return NETDEV_TX_OK;
73} 73}
74 74
75 75