Whamcloud - gitweb
AOSP: e2fsck: Remove unused variable.
authorDavid Anderson <dvander@google.com>
Mon, 16 Jul 2018 21:37:32 +0000 (14:37 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 5 Aug 2018 17:42:18 +0000 (13:42 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Bug: N/A
Test: e2fsck builds
Change-Id: I48e33920d8aa369808fb47143f2a46ecaa03f6c3
From AOSP commit: 4d2e95e15a4df94e556c2bfbf77b7b1d8e43b446

e2fsck/pass1.c

index 461f5fb..ce43821 100644 (file)
@@ -3444,8 +3444,6 @@ static void check_blocks(e2fsck_t ctx, struct problem_context *pctx,
                                bad_size = 2;
                }
        } else {
-               e2_blkcnt_t blkpg = ctx->blocks_per_page;
-
                size = EXT2_I_SIZE(inode);
                if ((pb.last_init_lblock >= 0) &&
                    /* Do not allow initialized allocated blocks past i_size*/