From: Frederic Weisbecker Date: Fri, 31 Oct 2008 12:14:28 +0000 (+0100) Subject: tracing/ftrace: remove unused code in sched_switch tracer X-Git-Tag: v2.6.29-rc1~586^2~96^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e55f605c14679c30be41473e60b7ad26524cdc35;p=pandora-kernel.git tracing/ftrace: remove unused code in sched_switch tracer Impact: cleanup When init_sched_switch_trace() is called, it has no reason to start the sched tracer if the sched_ref is not zero. _ If this is non-zero, the tracer is already used, but we can register it to the tracing engine. There is already a security which avoid the tracer probes not to be resgistered twice. _ If this is zero, this block will not be used. Signed-off-by: Frederic Weisbecker Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed