1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

work_restart is reset within the queued hash work loop.

This commit is contained in:
Con Kolivas 2013-05-28 23:54:16 +10:00
parent 5900c0244d
commit 33e83eb764

View File

@ -1080,8 +1080,6 @@ static void avalon_flush_work(struct cgpu_info *avalon)
struct avalon_info *info = avalon->device_data;
struct thr_info *thr = info->thr;
thr->work_restart = false;
mutex_lock(&info->qlock);
/* Will overwrite any work queued */
avalon->queued = 0;