Messages in this thread Patch in this message | | | From | Daniel Lezcano <> | Subject | [PATCH V2 4/8] sched: remove unused parameter for find_new_ilb | Date | Mon, 6 Jan 2014 12:34:41 +0100 |
| |
The 'call_cpu' is never used in the function. Remove it.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 82dd145..1f7ed1a 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6502,7 +6502,7 @@ static struct { unsigned long next_balance; /* in jiffy units */ } nohz ____cacheline_aligned; -static inline int find_new_ilb(int call_cpu) +static inline int find_new_ilb(void) { int ilb = cpumask_first(nohz.idle_cpus_mask); @@ -6523,7 +6523,7 @@ static void nohz_balancer_kick(int cpu) nohz.next_balance++; - ilb_cpu = find_new_ilb(cpu); + ilb_cpu = find_new_ilb(); if (ilb_cpu >= nr_cpu_ids) return; -- 1.7.9.5
| |