diff options
author | David S. Miller <davem@davemloft.net> | 2017-03-13 10:00:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-13 10:00:03 +0300 |
commit | e33cc31630c3ca1de47c2470ec8d41dee0683b11 (patch) | |
tree | aae22ef6cdaa873abb3bef9ebe05c109078eced3 /net/sched/sch_tbf.c | |
parent | 1bcf165ac6556dc55a596d524b8187d1ba7a8c7d (diff) | |
download | linux-e33cc31630c3ca1de47c2470ec8d41dee0683b11.tar.xz |
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/sched/sch_tbf.c')
-rw-r--r-- | net/sched/sch_tbf.c | 2 |
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; |