提交 1666703a 编写于 作者: A Andi Kleen 提交者: Ingo Molnar

sched: remove stale comment from sched_group_set_shares()

remove stale comment from sched_group_set_shares().

Function never returns -EINVAL.
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 d5036e89
......@@ -6822,8 +6822,6 @@ int sched_group_set_shares(struct task_group *tg, unsigned long shares)
if (tg->shares == shares)
goto done;
/* return -EINVAL if the new value is not sane */
tg->shares = shares;
for_each_possible_cpu(i)
set_se_shares(tg->se[i], shares);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册