aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index c203eaf73a2f..4b37ac4f128b 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -761,7 +761,6 @@ static struct perf_event_ops event_ops = {
761 761
762static int __cmd_report(void) 762static int __cmd_report(void)
763{ 763{
764 struct thread *idle;
765 int ret; 764 int ret;
766 struct perf_session *session; 765 struct perf_session *session;
767 766
@@ -769,9 +768,6 @@ static int __cmd_report(void)
769 if (session == NULL) 768 if (session == NULL)
770 return -ENOMEM; 769 return -ENOMEM;
771 770
772 idle = register_idle_thread();
773 thread__comm_adjust(idle);
774
775 if (show_threads) 771 if (show_threads)
776 perf_read_values_init(&show_threads_values); 772 perf_read_values_init(&show_threads_values);
777 773