The 'num_unordered' will be recounted after 'goto out',
just remove it.
Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
fprintf(stderr, "Fetch csum failed\n");
goto fail_out;
} else if (ret == 1) {
fprintf(stderr, "Fetch csum failed\n");
goto fail_out;
} else if (ret == 1) {
- num_unordered = count_devext_records(&unordered);
if (!(*flags & EQUAL_STRIPE))
*flags |= EQUAL_STRIPE;
goto out;
if (!(*flags & EQUAL_STRIPE))
*flags |= EQUAL_STRIPE;
goto out;