Browse Source

Restart is zeroed in the mining thread so no need to do it inside the bitforce code.

ckolivas 13 years ago
parent
commit
391e1f7eb1
1 changed files with 0 additions and 1 deletions
  1. 0 1
      driver-bitforce.c

+ 0 - 1
driver-bitforce.c

@@ -213,7 +213,6 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 	i += 1000;
 
 	/* Now start looking for results. Stupid polling every 10ms... */
-	work_restart[thr_id].restart = 0;
 	while (42) {
 		if (unlikely(work_restart[thr_id].restart))
 			return 0;