diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-08 22:57:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 22:57:31 -0700 |
commit | 68dfb42798e1eb2d42acbf872925cc75f1487d9b (patch) | |
tree | dc56b348077ca5f4e9a78f50fa04b198556f0abf /net/sched/sch_generic.c | |
parent | 816f3258e70db38d6d92c8d871377179fd69160f (diff) | |
download | op-kernel-dev-68dfb42798e1eb2d42acbf872925cc75f1487d9b.zip op-kernel-dev-68dfb42798e1eb2d42acbf872925cc75f1487d9b.tar.gz |
pkt_sched: Kill stats_lock member of struct Qdisc.
It is always equal to qdisc->dev_queue->lock
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_generic.c')
-rw-r--r-- | net/sched/sch_generic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 3223e5b..dda78ee 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -484,7 +484,6 @@ struct Qdisc * qdisc_create_dflt(struct net_device *dev, sch = qdisc_alloc(dev_queue, ops); if (IS_ERR(sch)) goto errout; - sch->stats_lock = &dev_queue->lock; sch->parent = parentid; if (!ops->init || ops->init(sch, NULL) == 0) |