Commit 33e83eb7649d9d1cd288475c0db3589f205a496d

Con Kolivas 2013-05-28T23:54:16

work_restart is reset within the queued hash work loop.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-avalon.c b/driver-avalon.c
index 9345461..2f659be 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -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;