diff options
author | Cheng Chao <[email protected]> | 2016-09-14 10:18:56 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-09-22 14:53:44 +0200 |
commit | 0b8473570ce1af3e80da05b59f9321f30253de4d (patch) | |
tree | 3104cc3086c4483760337f443ebae7f1f0530013 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 50797851b4a594ba131fa5f147f4510e351bf081 (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions