projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
687de7f
)
f2fs: remove the redundant variable definition
author
Kaixu Xia
<xiakaixu@huawei.com>
Sat, 1 Apr 2017 18:39:48 +0000
(
02:39
+0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 5 Apr 2017 18:05:07 +0000
(11:05 -0700)
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>
fs/f2fs/checkpoint.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/checkpoint.c
b/fs/f2fs/checkpoint.c
index 9aba0bb340a09df2d1ec42d999814de3b8b9f724..9db92990f193355fc330c2b24295a064eecb4aad 100644
(file)
--- 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);