sched: remove stale comment from sched_group_set_shares()

remove stale comment from sched_group_set_shares().

Function never returns -EINVAL.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Andi Kleen 2007-10-15 17:00:18 +02:00 committed by Ingo Molnar
parent d5036e89dc
commit 1666703af9

View File

@ -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);