]> git.karo-electronics.de Git - linux-beck.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)
commit42117927cab5a13192ecc227bea19da5059ffc6c
tree62af5997a0dc6ec1927e94a55d5cdbf0d9abcc0a
parentcca605dd4b3b2bfa381250b7dbbe16b124916f24
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