]> 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)
commitc46a7e2b8cea7eb047237a96d10dd3964dbaf9f0
tree62af5997a0dc6ec1927e94a55d5cdbf0d9abcc0a
parent13e8ef43d18d76fd89bdda4aea730fc2634cb8a2
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