Commit 260b1c87c093a6a89e48cbbea965361bbc5ddc57

Con Kolivas 2012-08-20T10:54:59

get_work never returns false so get rid of fail pause loop.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/cgminer.c b/cgminer.c
index d47aa9d..523b5aa 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);