mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: remove dead code
This commit is contained in:
parent
cfcbf89ed0
commit
383d7c4413
@ -782,7 +782,6 @@ static int _dump_raw_locn(struct device *dev, struct devicefile *def, int print_
|
|||||||
uint64_t meta_offset, meta_size;
|
uint64_t meta_offset, meta_size;
|
||||||
uint32_t meta_checksum;
|
uint32_t meta_checksum;
|
||||||
uint32_t meta_flags;
|
uint32_t meta_flags;
|
||||||
int bad = 0;
|
|
||||||
int mn = mda_num; /* 1 or 2 */
|
int mn = mda_num; /* 1 or 2 */
|
||||||
int ri = rlocn_index; /* 0 or 1 */
|
int ri = rlocn_index; /* 0 or 1 */
|
||||||
int wrapped = 0;
|
int wrapped = 0;
|
||||||
@ -837,8 +836,6 @@ static int _dump_raw_locn(struct device *dev, struct devicefile *def, int print_
|
|||||||
if (!meta_offset)
|
if (!meta_offset)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (bad)
|
|
||||||
return 0;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user