提交 e33cc316 编写于 作者: D 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: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册