Browse Source

twinfury: Remove unused variable to silence warning

Luke Dashjr 12 years ago
parent
commit
b3803e362d
1 changed files with 0 additions and 3 deletions
  1. 0 3
      driver-twinfury.c

+ 0 - 3
driver-twinfury.c

@@ -526,10 +526,7 @@ void twinfury_wlogprint_status(struct cgpu_info * const proc)
 {
 	const struct twinfury_info * const state = proc->device->device_data;
 	if(state->id.version > 1)
-	{
-		const uint32_t voltage = state->voltage;
 		wlogprint("Supply voltage: %dmV\n", state->voltage);
-	}
 }
 #endif