trace_branch: Remove unused function
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Feb 2009 06:13:36 +0000 (01:13 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Feb 2009 13:35:46 +0000 (14:35 +0100)
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>
kernel/trace/trace_branch.c

index 297deb202b687119a433dc731245d9e97de1d77a..027e8369061528a10eb8e0a83f8ebae601bb16fa 100644 (file)
@@ -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)
 {