processes plugin: Fix compilation when ps_delay() not used.
[collectd.git] / src / processes.c
index 738a6de..7c7b4b4 100644 (file)
@@ -1248,10 +1248,6 @@ static int ps_delay(process_entry_t *ps) {
 
   return 0;
 }
-#else
-static int ps_delay(__attribute__((unused)) process_entry_t *unused) {
-  return -1;
-}
 #endif
 
 static void ps_fill_details(const procstat_t *ps, process_entry_t *entry) {