diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-07-23 23:35:03 +0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-11-11 20:42:44 +0300 |
commit | 458faf0b88b19a46d51bb9760fa6e03a1bc6d97b (patch) | |
tree | bbb7975f14054631d54ed715f744af61c5f9dae6 /kernel/trace/trace_export.c | |
parent | 632537256e9f969a188cc4d0159e0027a459d3e7 (diff) | |
download | linux-458faf0b88b19a46d51bb9760fa6e03a1bc6d97b.tar.xz |
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_export.c')
0 files changed, 0 insertions, 0 deletions