Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1666703a authored by Andi Kleen's avatar Andi Kleen Committed by Ingo Molnar
Browse files

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);