There is no point subtracting 1 from maxq in get_work_thread.
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())