ftrace: Remove unused unregister_ftrace_function_probe_all() function
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 4 Apr 2017 17:39:59 +0000 (13:39 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:40 +0000 (22:06 -0400)
commit78f78e07d51e440d01e6b1aef172883821193771
treea4ccc492cccd26effe963f8d199ff860516421b3
parent0fe7e7e3f8391d4c9260b41cdb15c7917cb2e5b3
ftrace: Remove unused unregister_ftrace_function_probe_all() function

There are no users of unregister_ftrace_function_probe_all(). The only probe
function that is used is unregister_ftrace_function_probe_func(). Rename the
internal static function __unregister_ftrace_function_probe() to
unregister_ftrace_function_probe_func() and make it global.

Also remove the PROBE_TEST_FUNC as it would be always set.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/trace.h