From 9f5ea03c55ef747c63a258e7abdbbf07a3b1bbf7 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Mon, 1 Dec 2014 09:07:30 +0100 Subject: [PATCH] cpu: remove legacy assignment to undefiend variable This finishes up the cleanup done by f7100301fa. It also fixes #828 (build error on Mac OS). Many thanks to @njh for pointing that out ! --- src/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cpu.c b/src/cpu.c index 1c4e5f6b..6753397c 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -156,8 +156,6 @@ static int init (void) DEBUG ("host_processors returned %i %s", (int) cpu_list_len, cpu_list_len == 1 ? "processor" : "processors"); INFO ("cpu plugin: Found %i processor%s.", (int) cpu_list_len, cpu_list_len == 1 ? "" : "s"); - - cpu_temp_retry_max = 86400 / CDTIME_T_TO_TIME_T (plugin_get_interval ()); /* #endif PROCESSOR_CPU_LOAD_INFO */ #elif defined(HAVE_LIBKSTAT) -- 2.11.0