|
|
|
@ -1441,9 +1441,7 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason)
@@ -1441,9 +1441,7 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason)
|
|
|
|
|
dev->device_last_not_well = time(NULL); |
|
|
|
|
dev->device_not_well_reason = reason; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
switch (reason) |
|
|
|
|
{ |
|
|
|
|
switch (reason) { |
|
|
|
|
case REASON_THREAD_FAIL_INIT: |
|
|
|
|
dev->thread_fail_init_count++; |
|
|
|
|
break; |
|
|
|
@ -1475,7 +1473,6 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason)
@@ -1475,7 +1473,6 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason)
|
|
|
|
|
dev->dev_throttle_count++; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Realloc an existing string to fit an extra string s, appending s to it. */ |
|
|
|
|