net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
[deliverable/linux.git] / net / sched / sch_teql.c
index 9c002b6e0533a7e170027ddc6f9e8da7c3bfdc74..12434b6c2042ba4c1d4c793951dae4d7b3d5cfc4 100644 (file)
@@ -314,7 +314,7 @@ restart:
                                        netif_wake_queue(dev);
                                        txq->tx_packets++;
                                        txq->tx_bytes += length;
-                                       return 0;
+                                       return NETDEV_TX_OK;
                                }
                                __netif_tx_unlock(slave_txq);
                        }
@@ -323,7 +323,7 @@ restart:
                        break;
                case 1:
                        master->slaves = NEXT_SLAVE(q);
-                       return 0;
+                       return NETDEV_TX_OK;
                default:
                        nores = 1;
                        break;
@@ -345,7 +345,7 @@ restart:
 drop:
        txq->tx_dropped++;
        dev_kfree_skb(skb);
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 static int teql_master_open(struct net_device *dev)
This page took 0.029362 seconds and 5 git commands to generate.