diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-05 01:13:36 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-05 08:35:46 -0500 |
commit | 97e5b191ae7dc0f4f5b82b9db29782928b103b4d (patch) | |
tree | 4281b1d95a437ab6fd2a0ff451888744f9541f16 /kernel/trace/trace_branch.c | |
parent | 268ccda0cb4d1292029d07ee3dbd07117baf6ecb (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.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) | |||
143 | stop_branch_trace(tr); | 143 | stop_branch_trace(tr); |
144 | } | 144 | } |
145 | 145 | ||
146 | static int | ||
147 | trace_print_print(struct trace_seq *s, struct trace_entry *entry, int flags) | ||
148 | { | ||
149 | struct print_entry *field; | ||
150 | |||
151 | trace_assign_type(field, entry); | ||
152 | |||
153 | if (seq_print_ip_sym(s, field->ip, flags)) | ||
154 | goto partial; | ||
155 | |||
156 | if (trace_seq_printf(s, ": %s", field->buf)) | ||
157 | goto partial; | ||
158 | |||
159 | partial: | ||
160 | return TRACE_TYPE_PARTIAL_LINE; | ||
161 | } | ||
162 | |||
163 | static enum print_line_t trace_branch_print(struct trace_iterator *iter, | 146 | static enum print_line_t trace_branch_print(struct trace_iterator *iter, |
164 | int flags) | 147 | int flags) |
165 | { | 148 | { |