1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +03:00

Remove unused 'i' in _pv_analyze_mda_raw

'i' is unused in the function - remove it.
This commit is contained in:
Zdenek Kabelac 2010-11-29 11:16:58 +00:00
parent e60fe35e6b
commit ea249ebca7

View File

@ -173,7 +173,6 @@ static int _pv_analyze_mda_raw (const struct format_type * fmt,
uint64_t area_size;
uint64_t prev_sector, prev_sector2;
uint64_t latest_mrec_offset;
int i;
uint64_t offset;
uint64_t offset2;
size_t size;
@ -214,7 +213,7 @@ static int _pv_analyze_mda_raw (const struct format_type * fmt,
offset = prev_sector;
size = SECTOR_SIZE;
offset2 = size2 = 0;
i = 0;
while (prev_sector != latest_mrec_offset) {
prev_sector2 = prev_sector;
prev_sector = _get_prev_sector_circular(area_start, area_size,