Commit 1666703a authored by Andi Kleen's avatar Andi Kleen Committed by 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: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment