From 8f1b0898acae207ed80fe91b346923fb01b26d3e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 16 Jul 2018 14:37:32 -0700 Subject: [PATCH] AOSP: e2fsck: Remove unused variable. Signed-off-by: Theodore Ts'o Bug: N/A Test: e2fsck builds Change-Id: I48e33920d8aa369808fb47143f2a46ecaa03f6c3 From AOSP commit: 4d2e95e15a4df94e556c2bfbf77b7b1d8e43b446 --- e2fsck/pass1.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index 461f5fb..ce43821 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -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*/ -- 1.8.3.1