diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-05 07:13:36 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-05 14:35:46 +0100 |
commit | 97e5b191ae7dc0f4f5b82b9db29782928b103b4d (patch) | |
tree | 4281b1d95a437ab6fd2a0ff451888744f9541f16 /kernel/trace/trace_branch.c | |
parent | trace: assign defaults at register_ftrace_event (diff) | |
download | linux-97e5b191ae7dc0f4f5b82b9db29782928b103b4d.tar.xz linux-97e5b191ae7dc0f4f5b82b9db29782928b103b4d.zip |
trace_branch: Remove unused function
Impact: cleanup
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r-- | kernel/trace/trace_branch.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index 297deb202b68..027e83690615 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c @@ -143,23 +143,6 @@ static void branch_trace_reset(struct trace_array *tr) stop_branch_trace(tr); } -static int -trace_print_print(struct trace_seq *s, struct trace_entry *entry, int flags) -{ - struct print_entry *field; - - trace_assign_type(field, entry); - - if (seq_print_ip_sym(s, field->ip, flags)) - goto partial; - - if (trace_seq_printf(s, ": %s", field->buf)) - goto partial; - - partial: - return TRACE_TYPE_PARTIAL_LINE; -} - static enum print_line_t trace_branch_print(struct trace_iterator *iter, int flags) { |