1
0
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:
Zdenek Kabelac 2024-05-07 15:25:32 +02:00
parent cfcbf89ed0
commit 383d7c4413

View File

@ -782,7 +782,6 @@ static int _dump_raw_locn(struct device *dev, struct devicefile *def, int print_
uint64_t meta_offset, meta_size;
uint32_t meta_checksum;
uint32_t meta_flags;
int bad = 0;
int mn = mda_num; /* 1 or 2 */
int ri = rlocn_index; /* 0 or 1 */
int wrapped = 0;
@ -837,8 +836,6 @@ static int _dump_raw_locn(struct device *dev, struct devicefile *def, int print_
if (!meta_offset)
return 1;
if (bad)
return 0;
return 1;
}