aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/eexpress.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/eexpress.c')
-rw-r--r--drivers/net/eexpress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c
index 1686dca28748..8c44ef4ba357 100644
--- a/drivers/net/eexpress.c
+++ b/drivers/net/eexpress.c
@@ -664,7 +664,7 @@ static int eexp_xmit(struct sk_buff *buf, struct net_device *dev)
664 664
665 if (buf->len < ETH_ZLEN) { 665 if (buf->len < ETH_ZLEN) {
666 if (skb_padto(buf, ETH_ZLEN)) 666 if (skb_padto(buf, ETH_ZLEN))
667 return 0; 667 return NETDEV_TX_OK;
668 length = ETH_ZLEN; 668 length = ETH_ZLEN;
669 } 669 }
670 670
@@ -691,7 +691,7 @@ static int eexp_xmit(struct sk_buff *buf, struct net_device *dev)
691 spin_unlock_irqrestore(&lp->lock, flags); 691 spin_unlock_irqrestore(&lp->lock, flags);
692#endif 692#endif
693 enable_irq(dev->irq); 693 enable_irq(dev->irq);
694 return 0; 694 return NETDEV_TX_OK;
695} 695}
696 696
697/* 697/*