Commit 837e7b1a852fe3f92f7671f0349be64cf7163206

Con Kolivas 2011-07-06T13:28:29

Remove unused cgpu rolling_local variable.

diff --git a/main.c b/main.c
index 91dab7e..9307ecc 100644
--- a/main.c
+++ b/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 */
 	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);
 	total_secs = (double)total_diff.tv_sec +
diff --git a/miner.h b/miner.h
index d39860a..d6f400f 100644
--- a/miner.h
+++ b/miner.h
@@ -119,7 +119,6 @@ struct cgpu_info {
 	int accepted;
 	int rejected;
 	int hw_errors;
-	double rolling_local;
 	double local_mhashes;
 	double total_mhashes;
 };