From 260b1c87c093a6a89e48cbbea965361bbc5ddc57 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 20 Aug 2012 10:54:59 +1000 Subject: [PATCH] get_work never returns false so get rid of fail pause loop. --- cgminer.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cgminer.c b/cgminer.c index d47aa9d9..523b5aa5 100644 --- a/cgminer.c +++ b/cgminer.c @@ -4082,13 +4082,6 @@ retry: ret = true; out: - if (unlikely(ret == false)) { - applog(LOG_DEBUG, "Retrying after %d seconds", fail_pause); - sleep(fail_pause); - fail_pause += opt_fail_pause; - goto retry; - } - fail_pause = opt_fail_pause; work->thr_id = thr_id; thread_reportin(thr);