Browse Source

Remove nDev limit in watchdog_thread

Can't work out why it was even there... so there could still be a reason
for it!
Paul Sheppard 13 years ago
parent
commit
6ed75c96cb
1 changed files with 1 additions and 4 deletions
  1. 1 4
      cgminer.c

+ 1 - 4
cgminer.c

@@ -4348,13 +4348,10 @@ static void *watchdog_thread(void __maybe_unused *userdata)
 			enum dev_enable *denable;
 			int gpu;
 			char dev_str[8];
-			
+
 			if (cgpu->api->get_stats)
 			  cgpu->api->get_stats(cgpu);
 
-			/* Use only one thread per device to determine if the GPU is healthy */
-			if (i >= nDevs)
-				break;
 			gpu = thr->cgpu->device_id;
 			denable = &cgpu->deven;
 			sprintf(dev_str, "%s%d", cgpu->api->name, gpu);