From 6c686b0dcc980107a900180dba2682281ee253c8 Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Sat, 18 Apr 2015 10:49:37 +0200 Subject: [PATCH] Turbostat: Remove useless initialization --- src/turbostat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/turbostat.c b/src/turbostat.c index 61c2abd4..9373b61a 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1267,9 +1267,6 @@ allocate_counters(struct thread_data **threads, struct core_data **cores, struct if (*packages == NULL) goto err_clean_cores; - for (i = 0; i < topology.num_packages; i++) - (*packages)[i].package_id = i; - return 0; err_clean_cores: -- 2.11.0