projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ffcba4
)
net/sched: sch_cbq: change the type of cbq_set_lss to void
author
Zhengchao Shao
<shaozhengchao@huawei.com>
Tue, 26 Jul 2022 03:07:48 +0000
(11:07 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 28 Jul 2022 01:30:18 +0000
(18:30 -0700)
Change the type of cbq_set_lss to void.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link:
https://lore.kernel.org/r/20220726030748.243505-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/sch_cbq.c
patch
|
blob
|
history
diff --git
a/net/sched/sch_cbq.c
b/net/sched/sch_cbq.c
index
599e26f
..
91a0dc4
100644
(file)
--- a/
net/sched/sch_cbq.c
+++ b/
net/sched/sch_cbq.c
@@
-979,7
+979,7
@@
cbq_reset(struct Qdisc *sch)
}
-static
int
cbq_set_lss(struct cbq_class *cl, struct tc_cbq_lssopt *lss)
+static
void
cbq_set_lss(struct cbq_class *cl, struct tc_cbq_lssopt *lss)
{
if (lss->change & TCF_CBQ_LSS_FLAGS) {
cl->share = (lss->flags & TCF_CBQ_LSS_ISOLATED) ? NULL : cl->tparent;
@@
-997,7
+997,6
@@
static int cbq_set_lss(struct cbq_class *cl, struct tc_cbq_lssopt *lss)
}
if (lss->change & TCF_CBQ_LSS_OFFTIME)
cl->offtime = lss->offtime;
- return 0;
}
static void cbq_rmprio(struct cbq_sched_data *q, struct cbq_class *cl)