Commit 787e40a7ccff706c7b6805394489771f11f26f70

Con Kolivas 2012-08-21T21:53:35

There is no point subtracting 1 from maxq in get_work_thread.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 1c0bf0e..6779f40 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2407,7 +2407,7 @@ retry:
 	if (ts >= maxq)
 		goto out;
 
-	if (ts >= opt_queue && tq >= maxq - 1)
+	if (ts >= opt_queue && tq >= maxq)
 		goto out;
 
 	if (clone_available())