sched/core: Remove a parameter in the migrate_task_rq() function
authorxiaofeng.yan <yanxiaofeng@inspur.com>
Wed, 23 Sep 2015 06:55:59 +0000 (14:55 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 6 Oct 2015 15:08:23 +0000 (17:08 +0200)
commit5a4fd0368517bc5b5399ef958f6d30cbff492918
tree43d8d65ab75ddc9d3a361d7ff946f65d783bea06
parentce03e4137bb22fc560ad7a07cf4138ae2cd59f65
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>
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h