]> err.no Git - linux-2.6/commit
net-sched: sch_htb: remove write-only qdisc filter_cnt
authorPatrick McHardy <kaber@trash.net>
Sun, 6 Jul 2008 06:23:27 +0000 (23:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Jul 2008 06:23:27 +0000 (23:23 -0700)
commitaee18a8cf28808b7302ef698d77fa73883e60f1b
tree588722b785cea394c13997dfa1502ed041588d8c
parent4207759939c208f24d7e09596753e67b6bc188f9
net-sched: sch_htb: remove write-only qdisc filter_cnt

The filter_cnt is supposed to count filter references to a class.
Since the qdisc can't be the target of a filter, it doesn't need
a filter_cnt. In fact the counter is never decreased since cls_api
considers a return value of zero a failure and doesn't unbind again.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c