From 8559a1626f6e36d32b07925d35824593eb2b0380 Mon Sep 17 00:00:00 2001 From: Gui Hecheng Date: Thu, 12 Jun 2014 10:25:01 +0800 Subject: [PATCH] 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 Signed-off-by: David Sterba --- chunk-recover.c | 1 - 1 file changed, 1 deletion(-) diff --git a/chunk-recover.c b/chunk-recover.c index dfa7ff6..9c44b49 100644 --- a/chunk-recover.c +++ b/chunk-recover.c @@ -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; -- 2.7.4