Messages in this thread Patch in this message | | | From | Andi Kleen <> | Subject | [PATCH] [6/6] scheduler: Remove bogus comment in sched_group_set_shares | Date | Sun, 7 Oct 2007 22:59:59 +0200 (CEST) |
| |
Function never returns -EINVAL.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux-2.6-sched-devel/kernel/sched.c =================================================================== --- linux-2.6-sched-devel.orig/kernel/sched.c +++ linux-2.6-sched-devel/kernel/sched.c @@ -6814,8 +6814,6 @@ int sched_group_set_shares(struct task_g if (tg->shares == shares) return 0; - /* 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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |