git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netfilter: x_tables: fix missing timer initialization in xt_LED
[pandora-kernel.git]
/
net
/
sched
/
sch_multiq.c
diff --git
a/net/sched/sch_multiq.c
b/net/sched/sch_multiq.c
index
edc1950
..
a8f8dc1
100644
(file)
--- a/
net/sched/sch_multiq.c
+++ b/
net/sched/sch_multiq.c
@@
-250,7
+250,7
@@
static int multiq_tune(struct Qdisc *sch, struct nlattr *opt)
static int multiq_init(struct Qdisc *sch, struct nlattr *opt)
{
struct multiq_sched_data *q = qdisc_priv(sch);
static int multiq_init(struct Qdisc *sch, struct nlattr *opt)
{
struct multiq_sched_data *q = qdisc_priv(sch);
- int i
, err
;
+ int i;
q->queues = NULL;
q->queues = NULL;
@@
-265,12
+265,7
@@
static int multiq_init(struct Qdisc *sch, struct nlattr *opt)
for (i = 0; i < q->max_bands; i++)
q->queues[i] = &noop_qdisc;
for (i = 0; i < q->max_bands; i++)
q->queues[i] = &noop_qdisc;
- err = multiq_tune(sch, opt);
-
- if (err)
- kfree(q->queues);
-
- return err;
+ return multiq_tune(sch, opt);
}
static int multiq_dump(struct Qdisc *sch, struct sk_buff *skb)
}
static int multiq_dump(struct Qdisc *sch, struct sk_buff *skb)