Commit 56d830a216339b4fa16e89d6c16bd3a254283149

Con Kolivas 2011-07-13T12:08:43

Trivial.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/main.c b/main.c
index 86183aa..9ef1240 100644
--- a/main.c
+++ b/main.c
@@ -1759,8 +1759,7 @@ static void reinit_gputhread(int thr_id)
 	clStates[thr_id] = initCl(gpu, name, sizeof(name));
 	if (!clStates[thr_id]) {
 		applog(LOG_ERR, "Failed to reinit GPU thread %d", thr_id);
-		kill_work();
-		return;
+		goto failed_out;
 	}
 	applog(LOG_INFO, "initCl() finished. Found %s", name);