diff options
| author | Kaixu Xia <xiakaixu@huawei.com> | 2017-04-02 02:39:48 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-21 18:40:01 +0200 |
| commit | b3018912f4339a05b844ff95d25c09a56ae5d16f (patch) | |
| tree | 84e9255fbe58030f791827d4dadae2ffe5173aff | |
| parent | 029886f8a4e483e21a2536c97012fef4cca071da (diff) | |
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 <xiakaixu@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
| -rw-r--r-- | fs/f2fs/checkpoint.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index c42caff27..036c206c5 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -1165,7 +1165,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); |
