From: Andi Kleen Date: Mon, 15 Oct 2007 15:00:18 +0000 (+0200) Subject: sched: remove stale comment from sched_group_set_shares() X-Git-Tag: v2.6.24-rc1~1289^2~23 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1666703af948ae87c87c2bc7121aa34271cc52ab;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index 7ef66bd753e..fc61b1fc67d 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) 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);