diff options
Diffstat (limited to 'drivers/net/depca.c')
-rw-r--r-- | drivers/net/depca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/depca.c b/drivers/net/depca.c index 97ea2d6d3fe1..adb997c5bb5d 100644 --- a/drivers/net/depca.c +++ b/drivers/net/depca.c | |||
@@ -1793,7 +1793,7 @@ static int __init get_hw_addr(struct net_device *dev) | |||
1793 | static int load_packet(struct net_device *dev, struct sk_buff *skb) | 1793 | static int load_packet(struct net_device *dev, struct sk_buff *skb) |
1794 | { | 1794 | { |
1795 | struct depca_private *lp = netdev_priv(dev); | 1795 | struct depca_private *lp = netdev_priv(dev); |
1796 | int i, entry, end, len, status = 0; | 1796 | int i, entry, end, len, status = NETDEV_TX_OK; |
1797 | 1797 | ||
1798 | entry = lp->tx_new; /* Ring around buffer number. */ | 1798 | entry = lp->tx_new; /* Ring around buffer number. */ |
1799 | end = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask; | 1799 | end = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask; |