summaryrefslogtreecommitdiffstats
path: root/kernel/sched/fair.c
diff options
context:
space:
mode:
authorxiaofeng.yan <yanxiaofeng@inspur.com>2015-09-23 14:55:59 +0800
committerIngo Molnar <mingo@kernel.org>2015-10-06 17:08:23 +0200
commit5a4fd0368517bc5b5399ef958f6d30cbff492918 (patch)
tree43d8d65ab75ddc9d3a361d7ff946f65d783bea06 /kernel/sched/fair.c
parentce03e4137bb22fc560ad7a07cf4138ae2cd59f65 (diff)
downloadlinux-5a4fd0368517bc5b5399ef958f6d30cbff492918.tar.gz
linux-5a4fd0368517bc5b5399ef958f6d30cbff492918.tar.bz2
linux-5a4fd0368517bc5b5399ef958f6d30cbff492918.zip
sched/core: Remove a parameter in the migrate_task_rq() function
The parameter "int next_cpu" in the following function is unused: migrate_task_rq(struct task_struct *p, int next_cpu) Remove it. Signed-off-by: xiaofeng.yan <yanxiaofeng@inspur.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/1442991360-31945-1-git-send-email-yanxiaofeng@inspur.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/fair.c')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 3bdc3da7bc6a..700eb548315f 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5009,7 +5009,7 @@ select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_f
* previous cpu. However, the caller only guarantees p->pi_lock is held; no
* other assumptions, including the state of rq->lock, should be made.
*/
-static void migrate_task_rq_fair(struct task_struct *p, int next_cpu)
+static void migrate_task_rq_fair(struct task_struct *p)
{
/*
* We are supposed to update the task to "current" time, then its up to date