From 11fc2fb67df9e452698b84eae0e029805ce1a018 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Sat, 17 Jan 2015 17:05:24 +1100 Subject: [PATCH] Revert "Only iterate over workers in workerstats if some are left in the worker_instances list" This reverts commit 450f2040b2022633e56783cc1c9f1a5d0966b65a. Of no advantage. --- src/stratifier.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index b669e235..c04aa3f3 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -3517,9 +3517,6 @@ static void *statsupdate(void *arg) worker_instance_t *worker; bool idle = false; - if (instance->workers < 1) - continue; - /* Decay times per worker */ DL_FOREACH(instance->worker_instances, worker) { per_tdiff = tvdiff(&now, &worker->last_share);