Browse Source

Remove unused cgpu rolling_local variable.

Con Kolivas 14 years ago
parent
commit
837e7b1a85
2 changed files with 0 additions and 2 deletions
  1. 0 1
      main.c
  2. 0 1
      miner.h

+ 0 - 1
main.c

@@ -660,7 +660,6 @@ static void hashmeter(int thr_id, struct timeval *diff,
 
 
 	/* Use a rolling average by faking an exponential decay over 5 * log */
 	/* Use a rolling average by faking an exponential decay over 5 * log */
 	rolling_local = ((rolling_local * 0.9) + local_mhashes_done) / 1.9;
 	rolling_local = ((rolling_local * 0.9) + local_mhashes_done) / 1.9;
-	cgpu->rolling_local = ((cgpu->rolling_local * 0.9) + cgpu->local_mhashes) / 1.9;
 
 
 	timeval_subtract(&total_diff, &total_tv_end, &total_tv_start);
 	timeval_subtract(&total_diff, &total_tv_end, &total_tv_start);
 	total_secs = (double)total_diff.tv_sec +
 	total_secs = (double)total_diff.tv_sec +

+ 0 - 1
miner.h

@@ -119,7 +119,6 @@ struct cgpu_info {
 	int accepted;
 	int accepted;
 	int rejected;
 	int rejected;
 	int hw_errors;
 	int hw_errors;
-	double rolling_local;
 	double local_mhashes;
 	double local_mhashes;
 	double total_mhashes;
 	double total_mhashes;
 };
 };