Commit e33cc316 authored by David S. Miller's avatar David S. Miller

sch_tbf: Remove bogus semicolon in if() conditional.

Fixes: 49b49971 ("net: sched: make default fifo qdiscs appear in the dump")
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1bcf165a
......@@ -396,7 +396,7 @@ static int tbf_change(struct Qdisc *sch, struct nlattr *opt)
q->qdisc->qstats.backlog);
qdisc_destroy(q->qdisc);
q->qdisc = child;
if (child != &noop_qdisc);
if (child != &noop_qdisc)
qdisc_hash_add(child, true);
}
q->limit = qopt->limit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment