From 391e1f7eb1d0197a29ea9202c2e0d775484b6208 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Mon, 2 Jul 2012 16:13:53 +1000 Subject: [PATCH] Restart is zeroed in the mining thread so no need to do it inside the bitforce code. --- driver-bitforce.c | 1 - 1 file changed, 1 deletion(-) diff --git a/driver-bitforce.c b/driver-bitforce.c index 56d3ff6e..23dc39b3 100644 --- a/driver-bitforce.c +++ b/driver-bitforce.c @@ -213,7 +213,6 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6 i += 1000; /* Now start looking for results. Stupid polling every 10ms... */ - work_restart[thr_id].restart = 0; while (42) { if (unlikely(work_restart[thr_id].restart)) return 0;