Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
eff9fe43b2
  1. 3
      cgminer.c

3
cgminer.c

@ -3297,9 +3297,6 @@ void *miner_thread(void *userdata) @@ -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));
}

Loading…
Cancel
Save