projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bcf165
)
sch_tbf: Remove bogus semicolon in if() conditional.
author
David S. Miller
<davem@davemloft.net>
Mon, 13 Mar 2017 07:00:03 +0000
(
00:00
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 13 Mar 2017 07:00:03 +0000
(
00:00
-0700)
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>
net/sched/sch_tbf.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_tbf.c
b/net/sched/sch_tbf.c
index 40c29a801391c33b4c1633befe9aa9a9a506b2f2..9850126129a378d46105d0535fde46e0a7f1a9c4 100644
(file)
--- 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;