]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/pkt_sched.h
pkt_sched: Remove the tx queue state check in qdisc_run()
[linux-2.6-omap-h63xx.git] / include / net / pkt_sched.h
index b786a5b09253c0687739033f3eb51471a16d29a6..4082f39f507916c5002d7677831da8aff0e9013f 100644 (file)
@@ -90,10 +90,7 @@ extern void __qdisc_run(struct Qdisc *q);
 
 static inline void qdisc_run(struct Qdisc *q)
 {
-       struct netdev_queue *txq = q->dev_queue;
-
-       if (!netif_tx_queue_stopped(txq) &&
-           !test_and_set_bit(__QDISC_STATE_RUNNING, &q->state))
+       if (!test_and_set_bit(__QDISC_STATE_RUNNING, &q->state))
                __qdisc_run(q);
 }