1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Remove unused temp counts in bflsc.

This commit is contained in:
Con Kolivas 2013-04-27 01:04:30 +10:00
parent e70e7b5b7e
commit b0e6f68b65

View File

@ -75,10 +75,6 @@ struct bflsc_dev {
float temp2_max;
time_t temp1_max_time;
time_t temp2_max_time;
float temp1_sum;
float temp2_sum;
uint64_t temp_count;
time_t temp_time;
float temp1_5min_av; // TODO:
float temp2_5min_av; // TODO:
@ -1151,10 +1147,7 @@ static bool bflsc_get_temp(struct cgpu_info *bflsc, int dev)
sc_dev->temp2_max = temp2;
sc_dev->temp2_max_time = time(NULL);
}
sc_dev->temp1_sum += temp1;
sc_dev->temp2_sum += temp2;
sc_dev->temp_count++;
sc_dev->temp_time = time(NULL);
if (unlikely(sc_dev->temp1_5min_av == 0))
sc_dev->temp1_5min_av = temp1;
else {