]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
tracing: Remove orphaned function ftrace_nr_registered_ops()
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 26 Jul 2018 12:44:32 +0000 (21:44 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 26 Jul 2018 14:58:43 +0000 (10:58 -0400)
commit72809cbf6748830ae4a59a45bcb2367a6c24d74d
tree9f2aee5db829b78ff2e60817414b214c8470b613
parent7b144b6c795a380beae6f7b40dcfb21014c4afb8
tracing: Remove orphaned function ftrace_nr_registered_ops()

Remove ftrace_nr_registered_ops() because it is no longer used.

ftrace_nr_registered_ops() has been introduced by commit ea701f11da44
("ftrace: Add selftest to test function trace recursion protection"), but
its caller has been removed by commit 05cbbf643b8e ("tracing: Fix selftest
function recursion accounting"). So it is not called anymore.

Link: http://lkml.kernel.org/r/153260907227.12474.5234899025934963683.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c