sched/fair: Remove unneeded prototype of capacity_of()
PATCH RESEND 1/1 sched/fair: Remove unneeded prototype of capacity_of()
The prototype of that function was already hoisted up in
commit 3b1baa6496e6 ("sched/fair: Add 'group_misfit_task' load-balance type")
but that seems to have been missed. Get rid of the extra prototype.
Fixes 2802bf3cd936 ("sched/fair: Add over-utilization/tipping point indicator")
Acked-by Quentin Perret <[email protected]>
Signed-off-by Valentin Schneider <[email protected]>
--- kernel/sched/fair.c | 1 - 1 file changed, 1 deletion(-)
kernel/sched/fair.c +0 -1
@@ -5116,7 +5116,6 @@ static inline void hrtick_update(struct rq *rq)#ifdef CONFIG_SMP static inline unsigned long cpu_util (int cpu); -static unsigned long capacity_of (int cpu);static inline bool cpu_overutilized (int cpu) {
Signature · 1 line
2.20.1
tip-bot for Valentin Schneider
merge botsched/fair: Remove unneeded prototype of capacity_of()
Commit-ID: e2abb398115e9c33f3d1e25bf6d1d08badc58b13 Gitweb: https://git.kernel.org/tip/e2abb398115e9c33f3d1e25bf6d1d08badc58b13 Author: Valentin Schneider <[email protected]> AuthorDate: Tue, 16 Apr 2019 15:06:21 +0100 Committer: Ingo Molnar <[email protected]> CommitDate: Tue, 16 Apr 2019 16:48:51 +0200
sched/fair: Remove unneeded prototype of capacity_of()
The prototype of that function was already hoisted up in:
commit 3b1baa6496e6 ("sched/fair: Add 'group_misfit_task' load-balance type")
but that seems to have been missed. Get rid of the extra prototype.
Signed-off-by Valentin Schneider <[email protected]>
Acked-by Quentin Perret <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Fixes 2802bf3cd936 ("sched/fair: Add over-utilization/tipping point indicator")
Signed-off-by Ingo Molnar <[email protected]>
--- kernel/sched/fair.c | 1 - 1 file changed, 1 deletion(-)
kernel/sched/fair.c +0 -1
@@ -5116,7 +5116,6 @@ static inline void hrtick_update(struct rq *rq)#ifdef CONFIG_SMP static inline unsigned long cpu_util (int cpu); -static unsigned long capacity_of (int cpu);static inline bool cpu_overutilized (int cpu) {