]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: netem: remove qdisc_is_throttled() use
authorEric Dumazet <edumazet@google.com>
Fri, 10 Jun 2016 23:41:38 +0000 (16:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:58:21 +0000 (23:58 -0700)
commit9874db1477df71d0b1a92f3f44c83451c16a7d9c
tree62af5997a0dc6ec1927e94a55d5cdbf0d9abcc0a
parentc04373fbbd72cf613420924151440816dbf68a52
net_sched: netem: remove qdisc_is_throttled() use

Looks like it is only there as some optimization attempt.

Since __QDISC_STATE_THROTTLED set/unset is way too expensive,
and netem is the last user, just remove this check.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c