Browse Source

No point counting wait time until the work is actually sent to bitforce devices.

Con Kolivas 13 years ago
parent
commit
1b0a0ac5db
1 changed files with 0 additions and 1 deletions
  1. 0 1
      driver-bitforce.c

+ 0 - 1
driver-bitforce.c

@@ -271,7 +271,6 @@ re_send:
 	BFgets(pdevbuf, sizeof(pdevbuf), fdDev);
 	if (!pdevbuf[0] || !strncasecmp(pdevbuf, "B", 1)) {
 		mutex_unlock(&bitforce->device_mutex);
-		bitforce->wait_ms += WORK_CHECK_INTERVAL_MS;
 		usleep(WORK_CHECK_INTERVAL_MS * 1000);
 		goto re_send;
 	} else if (unlikely(strncasecmp(pdevbuf, "OK", 2))) {