Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1666703af948ae87c87c2bc7121aa34271cc52ab Commit: 1666703af948ae87c87c2bc7121aa34271cc52ab Parent: d5036e89dcf7c19b3d03219d7d385bc96965b7fe Author: Andi Kleen <[EMAIL PROTECTED]> AuthorDate: Mon Oct 15 17:00:18 2007 +0200 Committer: Ingo Molnar <[EMAIL PROTECTED]> CommitDate: Mon Oct 15 17:00:18 2007 +0200
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 <[EMAIL PROTECTED]> Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> --- kernel/sched.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/kernel/sched.c b/kernel/sched.c index 7ef66bd..fc61b1f 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html