Browse Source

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

Con Kolivas 14 years ago
parent
commit
eff9fe43b2
1 changed files with 0 additions and 3 deletions
  1. 0 3
      cgminer.c

+ 0 - 3
cgminer.c

@@ -3297,9 +3297,6 @@ void *miner_thread(void *userdata)
 			}
 			}
 
 
 			sdiff.tv_sec = sdiff.tv_usec = 0;
 			sdiff.tv_sec = sdiff.tv_usec = 0;
-
-			if (can_roll(work) && should_roll(work))
-				roll_work(work);
 		} while (!abandon_work(work, &wdiff, hashes));
 		} while (!abandon_work(work, &wdiff, hashes));
 	}
 	}