aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_generic.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-09 01:57:31 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-09 01:57:31 -0400
commit68dfb42798e1eb2d42acbf872925cc75f1487d9b (patch)
treedc56b348077ca5f4e9a78f50fa04b198556f0abf /net/sched/sch_generic.c
parent816f3258e70db38d6d92c8d871377179fd69160f (diff)
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index 3223e5ba76aa..dda78ee314ec 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,
484 sch = qdisc_alloc(dev_queue, ops); 484 sch = qdisc_alloc(dev_queue, ops);
485 if (IS_ERR(sch)) 485 if (IS_ERR(sch))
486 goto errout; 486 goto errout;
487 sch->stats_lock = &dev_queue->lock;
488 sch->parent = parentid; 487 sch->parent = parentid;
489 488
490 if (!ops->init || ops->init(sch, NULL) == 0) 489 if (!ops->init || ops->init(sch, NULL) == 0)