diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-07-23 21:35:03 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-11-11 18:42:44 +0100 |
commit | 458faf0b88b19a46d51bb9760fa6e03a1bc6d97b (patch) | |
tree | bbb7975f14054631d54ed715f744af61c5f9dae6 /kernel/trace/trace_sched_wakeup.c | |
parent | tracing: Kill tracing_{start,stop}_sched_switch_record() and tracing_sched_sw... (diff) | |
download | linux-458faf0b88b19a46d51bb9760fa6e03a1bc6d97b.tar.xz linux-458faf0b88b19a46d51bb9760fa6e03a1bc6d97b.zip |
tracing: Kill the dead code in probe_sched_switch() and probe_sched_wakeup()
After the previous patch it is clear that "tracer_enabled" can never be
true, we can remove the "if (tracer_enabled)" code in probe_sched_switch()
and probe_sched_wakeup(). Plus we can obviously remove tracer_enabled,
ctx_trace, and sched_stopped as well.
Link: http://lkml.kernel.org/p/20140723193503.GA30217@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_sched_wakeup.c')
0 files changed, 0 insertions, 0 deletions