aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2014-01-06 06:34:41 -0500
committerIngo Molnar <mingo@kernel.org>2014-01-13 07:47:29 -0500
commit3dd0337d6df7d54c82ecebfa6485040f686bf8b1 (patch)
tree4604478b9daa2c9576c2dbdbdfbbdf66286f180c /kernel/sched
parent63f609b160151c9e86b26b935c9671a23afe299f (diff)
sched: Remove unused parameter from find_new_ilb()
The 'call_cpu' is never used in the function. Remove it. Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1389008085-9069-5-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/fair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index fc0afc55b4a6..5fda3c4411f6 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6509,7 +6509,7 @@ static struct {
6509 unsigned long next_balance; /* in jiffy units */ 6509 unsigned long next_balance; /* in jiffy units */
6510} nohz ____cacheline_aligned; 6510} nohz ____cacheline_aligned;
6511 6511
6512static inline int find_new_ilb(int call_cpu) 6512static inline int find_new_ilb(void)
6513{ 6513{
6514 int ilb = cpumask_first(nohz.idle_cpus_mask); 6514 int ilb = cpumask_first(nohz.idle_cpus_mask);
6515 6515
@@ -6530,7 +6530,7 @@ static void nohz_balancer_kick(int cpu)
6530 6530
6531 nohz.next_balance++; 6531 nohz.next_balance++;
6532 6532
6533 ilb_cpu = find_new_ilb(cpu); 6533 ilb_cpu = find_new_ilb();
6534 6534
6535 if (ilb_cpu >= nr_cpu_ids) 6535 if (ilb_cpu >= nr_cpu_ids)
6536 return; 6536 return;