X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetapp.c;h=71569925319acbbadee21fe2e924469d232a3290;hb=7f6889538704310783b1d79bec4c12110845bb59;hp=ce182e458da54244ff309622b9908a2db01d83c9;hpb=41ddd132cde95c42a7efb6832b8b1c8d8831dc83;p=collectd.git diff --git a/src/netapp.c b/src/netapp.c index ce182e45..71569925 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -44,8 +44,6 @@ typedef void service_handler_t(host_config_t *host, na_elem_t *result, void *dat typedef struct { uint32_t flags; - uint64_t last_cpu_busy; - uint64_t last_cpu_total; } perf_system_data_t; /*! @@ -1090,8 +1088,6 @@ static void build_perf_sys_config(host_config_t *temp, oconfig_item_t *ci, const service->handler = collect_perf_system_data; perf_system = service->data = malloc(sizeof(*perf_system)); perf_system->flags = PERF_SYSTEM_ALL; - perf_system->last_cpu_busy = 0; - perf_system->last_cpu_total = 0; service->next = temp->services; temp->services = service; for (i = 0; i < ci->children_num; ++i) {