aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_branch.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2009-02-05 01:13:36 -0500
committerIngo Molnar2009-02-05 14:35:46 +0100
commit97e5b191ae7dc0f4f5b82b9db29782928b103b4d (patch)
tree4281b1d95a437ab6fd2a0ff451888744f9541f16 /kernel/trace/trace_branch.c
parent268ccda0cb4d1292029d07ee3dbd07117baf6ecb (diff)
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.c17
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)
{