]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/seeq8005.c
net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
[net-next-2.6.git] / drivers / net / seeq8005.c
index ebbbe09725fe422c489bb7a2043d14465f68df62..7cc8bb814137a64db1b22952e65c583181a2d3c3 100644 (file)
@@ -401,7 +401,7 @@ static int seeq8005_send_packet(struct sk_buff *skb, struct net_device *dev)
 
        if (length < ETH_ZLEN) {
                if (skb_padto(skb, ETH_ZLEN))
-                       return 0;
+                       return NETDEV_TX_OK;
                length = ETH_ZLEN;
        }
        buf = skb->data;
@@ -415,7 +415,7 @@ static int seeq8005_send_packet(struct sk_buff *skb, struct net_device *dev)
        dev_kfree_skb (skb);
        /* You might need to clean up and record Tx statistics here. */
 
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 /*