projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b9773c
)
Turbostat: Remove useless initialization
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
61c2abd
..
9373b61
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: