---
 ext2fs/balloc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c
index cdaad39d8..cc00fe4cc 100644
--- a/ext2fs/balloc.c
+++ b/ext2fs/balloc.c
@@ -459,14 +459,13 @@ void
 ext2_check_blocks_bitmap (void)
 {
   unsigned char *bh;
-  unsigned long desc_count, bitmap_count, x;
+  unsigned long bitmap_count, x;
   unsigned long desc_blocks;
   struct ext2_group_desc *gdp;
   int i, j;
 
   pthread_spin_lock (&global_lock);
 
-  desc_count = 0;
   bitmap_count = 0;
   gdp = NULL;
 
@@ -494,7 +493,6 @@ ext2_check_blocks_bitmap (void)
        }
 
       gdp = group_desc (i);
-      desc_count += le16toh (gdp->bg_free_blocks_count);
       bh = disk_cache_block_ref (le32toh (gdp->bg_block_bitmap));
 
       if (!EXT2_HAS_RO_COMPAT_FEATURE (sblock,
-- 
2.55.0


Reply via email to