1
0
mirror of https://github.com/kdave/btrfs-progs synced 2025-03-25 04:16:32 +00:00

btrfs-progs: cleanup unused assignment for chunk-recover

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>
This commit is contained in:
Gui Hecheng 2014-06-12 10:25:01 +08:00 committed by David Sterba
parent b276e4bc50
commit 8559a1626f

View File

@ -1888,7 +1888,6 @@ next_csum:
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;