diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 17bd8f539bc7f1d596e97c713467f953802c9b82..4c75dbabd343e4585da2f3b11105e436c872c4a8 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -382,13 +382,8 @@ void __qdisc_run(struct Qdisc *q) int packets; while (qdisc_restart(q, &packets)) { - /* - * Ordered by possible occurrence: Postpone processing if - * 1. we've exceeded packet quota - * 2. another process needs the CPU; - */ quota -= packets; - if (quota <= 0 || need_resched()) { + if (quota <= 0) { __netif_schedule(q); break; }