net_sched: remove some unnecessary checks in classful schedulers
authorPatrick McHardy <kaber@trash.net>
Fri, 4 Sep 2009 06:41:17 +0000 (06:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Sep 2009 09:07:02 +0000 (02:07 -0700)
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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found