From: Kaixu Xia Date: Sat, 1 Apr 2017 18:39:48 +0000 (+0800) Subject: f2fs: remove the redundant variable definition X-Git-Tag: v4.12-rc1~71^2~56 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc2e2875d54c3571fe7c9dbed83814bd26e8a33a;p=karo-tx-linux.git f2fs: remove the redundant variable definition The variable 'i' has been defined before, so here we can use it directly. Signed-off-by: Kaixu Xia Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 9aba0bb340a0..9db92990f193 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -1163,7 +1163,6 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) /* write nat bits */ if (enabled_nat_bits(sbi, cpc)) { __u64 cp_ver = cur_cp_version(ckpt); - unsigned int i; block_t blk; cp_ver |= ((__u64)crc32 << 32);