summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b9773c)
raw | patch | inline | side by side (parent: 6b9773c)
author | Vincent Brillault <git@lerya.net> | |
Sat, 18 Apr 2015 08:49:37 +0000 (10:49 +0200) | ||
committer | Vincent Brillault <git@lerya.net> | |
Sat, 18 Apr 2015 09:06:17 +0000 (11:06 +0200) |
src/turbostat.c | patch | blob | history |
diff --git a/src/turbostat.c b/src/turbostat.c
index 61c2abd4f61727893a11fcccc0e43f280a54e015..9373b61a6a6c20f9ff4f9ccc864ea3a762ef42bc 100644 (file)
--- 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: