aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/trace-event-info.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/trace-event-info.c b/tools/perf/util/trace-event-info.c
index a800f2b8ccfc..f3c9e551bd35 100644
--- a/tools/perf/util/trace-event-info.c
+++ b/tools/perf/util/trace-event-info.c
@@ -476,8 +476,6 @@ static int tracing_data_header(void)
476 else 476 else
477 buf[0] = 0; 477 buf[0] = 0;
478 478
479 read_trace_init(buf[0], buf[0]);
480
481 if (write(output_fd, buf, 1) != 1) 479 if (write(output_fd, buf, 1) != 1)
482 return -1; 480 return -1;
483 481