mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Remove unused variable mirr_state and its assignment
This commit is contained in:
parent
4522d931f6
commit
a5d006d515
@ -184,7 +184,6 @@ static int _mirrored_target_percent(void **target_state,
|
||||
uint64_t *total_numerator,
|
||||
uint64_t *total_denominator)
|
||||
{
|
||||
struct mirror_state *mirr_state;
|
||||
uint64_t numerator, denominator;
|
||||
unsigned mirror_count, m;
|
||||
int used;
|
||||
@ -193,8 +192,6 @@ static int _mirrored_target_percent(void **target_state,
|
||||
if (!*target_state)
|
||||
*target_state = _mirrored_init_target(mem, cmd);
|
||||
|
||||
mirr_state = *target_state;
|
||||
|
||||
/* Status line: <#mirrors> (maj:min)+ <synced>/<total_regions> */
|
||||
log_debug("Mirror status: %s", params);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user