Commit eff9fe43b23676bb232e2ad23813f9599d10208c

Con Kolivas 2012-02-06T10:42:52

Rolling work on each loop through the mining thread serves no purpose.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cgminer.c b/cgminer.c
index 59610b1..a379034 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3297,9 +3297,6 @@ void *miner_thread(void *userdata)
 			}
 
 			sdiff.tv_sec = sdiff.tv_usec = 0;
-
-			if (can_roll(work) && should_roll(work))
-				roll_work(work);
 		} while (!abandon_work(work, &wdiff, hashes));
 	}