perf stat: Remove dead code: no need to set os.evsel twice
[linux-2.6-microblaze.git] / tools / perf / util / stat-display.c
index 493ec37..4b57c0c 100644 (file)
@@ -946,7 +946,6 @@ static void print_metric_headers(struct perf_stat_config *config,
                out.print_metric = print_metric_header;
                out.new_line = new_line_metric;
                out.force_header = true;
-               os.evsel = counter;
                perf_stat__print_shadow_stats(config, counter, 0,
                                              0,
                                              &out,