summaryrefslogtreecommitdiffstats
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorCheng Chao2016-09-14 04:18:56 +0200
committerIngo Molnar2016-09-22 14:53:44 +0200
commit0b8473570ce1af3e80da05b59f9321f30253de4d (patch)
tree3104cc3086c4483760337f443ebae7f1f0530013 /kernel/stop_machine.c
parentMerge branch 'linus' into sched/core, to pick up fixes (diff)
downloadkernel-qcow2-linux-0b8473570ce1af3e80da05b59f9321f30253de4d.tar.gz
kernel-qcow2-linux-0b8473570ce1af3e80da05b59f9321f30253de4d.tar.xz
kernel-qcow2-linux-0b8473570ce1af3e80da05b59f9321f30253de4d.zip
sched/core: Remove unnecessary initialization in sched_init()
init_idle() is called immediately after: current->sched_class = &fair_sched_class; init_idle() sets: current->sched_class = &idle_sched_class; First assignment is superfluous. Signed-off-by: Cheng Chao <cs.os.kernel@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1473819536-7398-1-git-send-email-cs.os.kernel@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions