From: David S. Miller Date: Mon, 13 Mar 2017 07:00:03 +0000 (-0700) Subject: sch_tbf: Remove bogus semicolon in if() conditional. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e33cc31630c3ca1de47c2470ec8d41dee0683b11;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sch_tbf: Remove bogus semicolon in if() conditional. Fixes: 49b499718fa1 ("net: sched: make default fifo qdiscs appear in the dump") Reported-by: kbuild test robot Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c index 40c29a801391..9850126129a3 100644 --- a/net/sched/sch_tbf.c +++ b/net/sched/sch_tbf.c @@ -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;