Commit 82fa6e25d5a607f90d18ce7ff8715bb59773d038

Con Kolivas 2012-08-21T21:11:22

There is no point running through clone_work from get_work() now that cloning is done from the get_work_thread.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index 31fce8b..a37c56f 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4075,7 +4075,6 @@ retry:
 			pool_resus(pool);
 	}
 
-	work_heap = clone_work(work_heap);
 	memcpy(work, work_heap, sizeof(struct work));
 	free_work(work_heap);