Browse Source

Allow to stage more than necessary work items if we're just rolling work.

Con Kolivas 14 years ago
parent
commit
d42d0c8ebd
1 changed files with 1 additions and 6 deletions
  1. 1 6
      cgminer.c

+ 1 - 6
cgminer.c

@@ -2944,12 +2944,7 @@ static struct work *hash_pop(const struct timespec *abstime)
 
 static inline bool should_roll(struct work *work)
 {
-	int rs;
-
-	rs = requests_staged();
-	if (rs >= mining_threads)
-		return false;
-	if (work->pool == current_pool() || pool_strategy == POOL_LOADBALANCE || !rs)
+	if (work->pool == current_pool() || pool_strategy == POOL_LOADBALANCE)
 		return true;
 	return false;
 }