Skip to contentSkip to conversation

trace_branch: Remove unused function

PATCH New Arnaldo Carvalho de Melo 1 participant 1 message Feb 5, 2009 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 trace_branch: Remove unused function

Impact: cleanup

---
 kernel/trace/trace_branch.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
kernel/trace/trace_branch.c +0 -17
index 297deb2..027e836 100644
@@ -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)
 {
Signature · 1 line
1.6.0.6