From 1666703af948ae87c87c2bc7121aa34271cc52ab Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Mon, 15 Oct 2007 17:00:18 +0200 Subject: 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 --- kernel/sched.c | 2 -- 1 file changed, 2 deletions(-) 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); -- cgit v1.2.3-18-g5258