diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-10-16 09:04:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 06:09:47 -0400 |
commit | 3511c9132f8b1e1b5634e41a3331c44b0c13be70 (patch) | |
tree | fecff28f3bf8fbfdecd33d9b98253d60f1d45bf7 /net/sched/sch_multiq.c | |
parent | 26d8ee75e08cfca8b65ade871d68c8cd96e4ea23 (diff) |
net_sched: remove the unused parameter of qdisc_create_dflt()
The first parameter dev isn't in use in qdisc_create_dflt().
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_multiq.c')
-rw-r--r-- | net/sched/sch_multiq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/sch_multiq.c b/net/sched/sch_multiq.c index 6ae251279fc2..32690deab5d0 100644 --- a/net/sched/sch_multiq.c +++ b/net/sched/sch_multiq.c | |||
@@ -227,8 +227,7 @@ static int multiq_tune(struct Qdisc *sch, struct nlattr *opt) | |||
227 | for (i = 0; i < q->bands; i++) { | 227 | for (i = 0; i < q->bands; i++) { |
228 | if (q->queues[i] == &noop_qdisc) { | 228 | if (q->queues[i] == &noop_qdisc) { |
229 | struct Qdisc *child, *old; | 229 | struct Qdisc *child, *old; |
230 | child = qdisc_create_dflt(qdisc_dev(sch), | 230 | child = qdisc_create_dflt(sch->dev_queue, |
231 | sch->dev_queue, | ||
232 | &pfifo_qdisc_ops, | 231 | &pfifo_qdisc_ops, |
233 | TC_H_MAKE(sch->handle, | 232 | TC_H_MAKE(sch->handle, |
234 | i + 1)); | 233 | i + 1)); |