mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-29 16:04:33 +00:00
hash_sole_work can be static
This commit is contained in:
parent
c28e2238c6
commit
20b5ebbc95
@ -5406,7 +5406,7 @@ static void mt_disable(struct thr_info *mythr, const int thr_id,
|
||||
/* The main hashing loop for devices that are slow enough to work on one work
|
||||
* item at a time, without a queue, aborting work before the entire nonce
|
||||
* range has been hashed if needed. */
|
||||
void hash_sole_work(struct thr_info *mythr)
|
||||
static void hash_sole_work(struct thr_info *mythr)
|
||||
{
|
||||
const int thr_id = mythr->id;
|
||||
struct cgpu_info *cgpu = mythr->cgpu;
|
||||
|
Loading…
x
Reference in New Issue
Block a user