Skip to content

Commit

Permalink
trace_branch: Remove unused function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Feb 5, 2009
1 parent 268ccda commit 97e5b19
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions kernel/trace/trace_branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 97e5b19

Please sign in to comment.