Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc2e2875 authored by Kaixu Xia's avatar Kaixu Xia Committed by Jaegeuk Kim
Browse files

f2fs: remove the redundant variable definition



The variable 'i' has been defined before, so here we can
use it directly.

Signed-off-by: default avatarKaixu Xia <xiakaixu@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 687de7f1
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1163,7 +1163,6 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
	/* write nat bits */
	/* write nat bits */
	if (enabled_nat_bits(sbi, cpc)) {
	if (enabled_nat_bits(sbi, cpc)) {
		__u64 cp_ver = cur_cp_version(ckpt);
		__u64 cp_ver = cur_cp_version(ckpt);
		unsigned int i;
		block_t blk;
		block_t blk;


		cp_ver |= ((__u64)crc32 << 32);
		cp_ver |= ((__u64)crc32 << 32);