mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Style police.
This commit is contained in:
parent
b8843546e3
commit
fc66a41e85
5
util.c
5
util.c
@ -1441,9 +1441,7 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason)
|
|||||||
dev->device_last_not_well = time(NULL);
|
dev->device_last_not_well = time(NULL);
|
||||||
dev->device_not_well_reason = reason;
|
dev->device_not_well_reason = reason;
|
||||||
|
|
||||||
|
switch (reason) {
|
||||||
switch (reason)
|
|
||||||
{
|
|
||||||
case REASON_THREAD_FAIL_INIT:
|
case REASON_THREAD_FAIL_INIT:
|
||||||
dev->thread_fail_init_count++;
|
dev->thread_fail_init_count++;
|
||||||
break;
|
break;
|
||||||
@ -1475,7 +1473,6 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason)
|
|||||||
dev->dev_throttle_count++;
|
dev->dev_throttle_count++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Realloc an existing string to fit an extra string s, appending s to it. */
|
/* Realloc an existing string to fit an extra string s, appending s to it. */
|
||||||
|
Loading…
Reference in New Issue
Block a user