Browse Source

Merge branch 'bugfix_bfl_discard' into bfgminer

Luke Dashjr 13 years ago
parent
commit
acdfdcb6ac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      driver-bitforce.c

+ 2 - 2
driver-bitforce.c

@@ -401,7 +401,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 	sleep_time = (2 * bitforce->sleep_ms) / 3;
 	ms_to_timeval(sleep_time, &tdiff);
 	if (!restart_wait(&tdiff))
-		return 1;
+		;
 
 	bitforce->wait_ms += sleep_time;
 	queue_request(thr, false);
@@ -410,7 +410,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 	sleep_time = bitforce->sleep_ms - sleep_time;
 	ms_to_timeval(sleep_time, &tdiff);
 	if (!restart_wait(&tdiff))
-		return 1;
+		;
 
 	bitforce->wait_ms += sleep_time;