]> Git Repo - linux.git/commit
net_sched: remove some unnecessary checks in classful schedulers
authorPatrick McHardy <[email protected]>
Fri, 4 Sep 2009 06:41:17 +0000 (06:41 +0000)
committerDavid S. Miller <[email protected]>
Sun, 6 Sep 2009 09:07:02 +0000 (02:07 -0700)
commit5b9a9ccfad8553dbf7a9b17ba78bad70215ed0e2
tree1454e8121fef6635a615f6766b3fdbff678ae63d
parentde6d5cdf881353f83006d5f3e28ac4fffd42145e
net_sched: remove some unnecessary checks in classful schedulers

The class argument to the ->graft(), ->leaf(), ->dump(), ->dump_stats() all
originate from either ->get() or ->walk() and are always valid.

Remove unnecessary checks.

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/sch_cbq.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c
net/sched/sch_multiq.c
net/sched/sch_prio.c
net/sched/sch_red.c
net/sched/sch_tbf.c
This page took 0.049803 seconds and 4 git commands to generate.