aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-10-15 11:00:18 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:18 -0400
commit1666703af948ae87c87c2bc7121aa34271cc52ab (patch)
tree9ba5ef0344daa96bd88ddc3d6ad9d3de623c9ff5 /kernel
parentd5036e89dcf7c19b3d03219d7d385bc96965b7fe (diff)
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 7ef66bd753e7..fc61b1fc67d5 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -6822,8 +6822,6 @@ int sched_group_set_shares(struct task_group *tg, unsigned long shares)
6822 if (tg->shares == shares) 6822 if (tg->shares == shares)
6823 goto done; 6823 goto done;
6824 6824
6825 /* return -EINVAL if the new value is not sane */
6826
6827 tg->shares = shares; 6825 tg->shares = shares;
6828 for_each_possible_cpu(i) 6826 for_each_possible_cpu(i)
6829 set_se_shares(tg->se[i], shares); 6827 set_se_shares(tg->se[i], shares);