Browse Source

Merge commit '7da60d4' into bfgminer

Luke Dashjr 11 years ago
parent
commit
b2aad065e9
1 changed files with 3 additions and 1 deletions
  1. 3 1
      driver-bitforce.c

+ 3 - 1
driver-bitforce.c

@@ -2613,12 +2613,14 @@ void bitforce_queue_flush(struct thr_info *thr)
 		// There is a race condition where the flush may have reported a job as in progress even though we completed and processed its results just now - so we just silence the sanity check
 		// There is a race condition where the flush may have reported a job as in progress even though we completed and processed its results just now - so we just silence the sanity check
 		bitforce_queue_flush_sanity_check(thr, &processing, keysz, true);
 		bitforce_queue_flush_sanity_check(thr, &processing, keysz, true);
 	
 	
-final:
+final: ;
+#if 0
 	if (unlikely(inproc != -1 && inproc != data->queued))
 	if (unlikely(inproc != -1 && inproc != data->queued))
 	{
 	{
 		applog(LOG_WARNING, "%"PRIpreprv": Sanity check: Device work inprogress count mismatch (dev inproc=%d, queued=%d)", bitforce->proc_repr, inproc, data->queued);
 		applog(LOG_WARNING, "%"PRIpreprv": Sanity check: Device work inprogress count mismatch (dev inproc=%d, queued=%d)", bitforce->proc_repr, inproc, data->queued);
 		data->queued = inproc;
 		data->queued = inproc;
 	}
 	}
+#endif
 }
 }
 
 
 static
 static