1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Remove unused variable mirr_state and its assignment

This commit is contained in:
Zdenek Kabelac 2011-01-05 12:27:56 +00:00
parent 4522d931f6
commit a5d006d515

View File

@ -184,7 +184,6 @@ static int _mirrored_target_percent(void **target_state,
uint64_t *total_numerator, uint64_t *total_numerator,
uint64_t *total_denominator) uint64_t *total_denominator)
{ {
struct mirror_state *mirr_state;
uint64_t numerator, denominator; uint64_t numerator, denominator;
unsigned mirror_count, m; unsigned mirror_count, m;
int used; int used;
@ -193,8 +192,6 @@ static int _mirrored_target_percent(void **target_state,
if (!*target_state) if (!*target_state)
*target_state = _mirrored_init_target(mem, cmd); *target_state = _mirrored_init_target(mem, cmd);
mirr_state = *target_state;
/* Status line: <#mirrors> (maj:min)+ <synced>/<total_regions> */ /* Status line: <#mirrors> (maj:min)+ <synced>/<total_regions> */
log_debug("Mirror status: %s", params); log_debug("Mirror status: %s", params);