[NET_SCHED]: Remove unnecessary stats_lock pointers
authorPatrick McHardy <kaber@trash.net>
Tue, 3 Jul 2007 05:47:37 +0000 (22:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:16:38 +0000 (22:16 -0700)
commit4bdf39911e7a887c4499161422423cbaf16684e8
tree3bf1ac8b4ee1e2682d7aff722d41175a694d41dc
parent876d48aabf30e4981653f1a0a7ae1e262b8c8b6f
[NET_SCHED]: Remove unnecessary stats_lock pointers

Remove stats_lock pointers from qdisc-internal structures, in all cases
it points to dev->queue_lock. The only case where it is necessary is for
top-level qdiscs, where it might also point to dev->ingress_lock in case
of the ingress qdisc. Also remove it from actions completely, it always
points to the actions internal lock.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/act_api.h
net/sched/act_api.c
net/sched/act_police.c
net/sched/sch_atm.c
net/sched/sch_cbq.c
net/sched/sch_hfsc.c