sched/core: Remove unused argument from sched_class::task_move_group
authorPeter Zijlstra <peterz@infradead.org>
Mon, 31 Aug 2015 15:13:55 +0000 (17:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 13 Sep 2015 07:52:50 +0000 (09:52 +0200)
The previous patches made the second argument go unused, remove it.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Byungchul Park <byungchul.park@lge.com>
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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h

index 97d276ff1edb1225f0ad894cb66b052be36b2104..7c099e69fd5eefd1ca4fd06152408a8492867282 100644 (file)
@@ -7721,7 +7721,7 @@ void sched_move_task(struct task_struct *tsk)
 
 #ifdef CONFIG_FAIR_GROUP_SCHED
        if (tsk->sched_class->task_move_group)
-               tsk->sched_class->task_move_group(tsk, queued);
+               tsk->sched_class->task_move_group(tsk);
        else
 #endif
                set_task_rq(tsk, task_cpu(tsk));
index b96d8dd65331b5cfee5b404deaf6966347884187..4e305d174b550d85a2bef6b6a24ca075b61f9622 100644 (file)
@@ -8043,7 +8043,7 @@ void init_cfs_rq(struct cfs_rq *cfs_rq)
 }
 
 #ifdef CONFIG_FAIR_GROUP_SCHED
-static void task_move_group_fair(struct task_struct *p, int queued)
+static void task_move_group_fair(struct task_struct *p)
 {
        detach_task_cfs_rq(p);
        set_task_rq(p, task_cpu(p));
index 68cda117574c3aed0e1849a6c07eb28e1f3369c9..637d5aeaa55a60a015abd314a18b795823c14bbe 100644 (file)
@@ -1226,7 +1226,7 @@ struct sched_class {
        void (*update_curr) (struct rq *rq);
 
 #ifdef CONFIG_FAIR_GROUP_SCHED
-       void (*task_move_group) (struct task_struct *p, int on_rq);
+       void (*task_move_group) (struct task_struct *p);
 #endif
 };