1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-04 11:04:26 +00:00

There is no point trying to clone_work in get_work() any more since we clone on every get_work_thread where possible.

This commit is contained in:
Con Kolivas 2012-08-21 21:54:33 +10:00
parent 787e40a7cc
commit 3ceb57b8f6

View File

@ -4082,7 +4082,6 @@ retry:
pool_resus(pool);
}
work_heap = clone_work(work_heap);
memcpy(work, work_heap, sizeof(struct work));
free_work(work_heap);