From: Vincent Brillault Date: Sat, 18 Apr 2015 08:49:37 +0000 (+0200) Subject: Turbostat: Remove useless initialization X-Git-Tag: collectd-5.5.0~24^2~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6c686b0dcc980107a900180dba2682281ee253c8;p=collectd.git Turbostat: Remove useless initialization --- 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: