summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-03-13 08:00:03 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-13 08:00:03 +0100
commite33cc31630c3ca1de47c2470ec8d41dee0683b11 (patch)
treeaae22ef6cdaa873abb3bef9ebe05c109078eced3 /net
parentr8169: replace init_timer with setup_timer (diff)
downloadlinux-e33cc31630c3ca1de47c2470ec8d41dee0683b11.tar.xz
linux-e33cc31630c3ca1de47c2470ec8d41dee0683b11.zip
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 <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/sched/sch_tbf.c2
1 files changed, 1 insertions, 1 deletions
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;