From: Oleg Nesterov Date: Wed, 23 Jul 2014 19:35:03 +0000 (+0200) Subject: tracing: Kill the dead code in probe_sched_switch() and probe_sched_wakeup() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~136^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=458faf0b88b19a46d51bb9760fa6e03a1bc6d97b;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed