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

Rolling work on each loop through the mining thread serves no purpose.

This commit is contained in:
Con Kolivas 2012-02-06 10:42:52 +11:00
parent d42d0c8ebd
commit eff9fe43b2

View File

@ -3297,9 +3297,6 @@ void *miner_thread(void *userdata)
}
sdiff.tv_sec = sdiff.tv_usec = 0;
if (can_roll(work) && should_roll(work))
roll_work(work);
} while (!abandon_work(work, &wdiff, hashes));
}