Browse Source

work_restart is reset within the queued hash work loop.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
33e83eb764
  1. 2
      driver-avalon.c

2
driver-avalon.c

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

Loading…
Cancel
Save