projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5036e8
)
sched: remove stale comment from sched_group_set_shares()
author
Andi Kleen
<ak@suse.de>
Mon, 15 Oct 2007 15:00:18 +0000
(17:00 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 15 Oct 2007 15:00:18 +0000
(17:00 +0200)
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>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 7ef66bd753e7ec7d534d4fc011c3dce865bcc1f9..fc61b1fc67d50c99c63a4160e0e3929670fd8249 100644
(file)
--- 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);