tracing: Remove unused ftrace_trace_addr helper
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 12 Oct 2009 20:31:32 +0000 (22:31 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 13 Oct 2009 07:33:40 +0000 (09:33 +0200)
Remove the ftrace_trace_addr() function as only its off-case is
implemented and there are no users of it currently.

But we keep ftrace_graph_addr() off-case, in case someone come to use
the function graph tracer to profit from top-level callers filtering.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
kernel/trace/trace.h

index 365fb19d9e111c349717fda69f4511d2aa85c0f1..f22a7ac323805159fe8ad81fe1d23c77d2050129 100644 (file)
@@ -483,10 +483,6 @@ static inline int ftrace_graph_addr(unsigned long addr)
        return 0;
 }
 #else
-static inline int ftrace_trace_addr(unsigned long addr)
-{
-       return 1;
-}
 static inline int ftrace_graph_addr(unsigned long addr)
 {
        return 1;