summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-11-20 14:33:34 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2020-12-03 07:00:21 +0100
commitbeb78181f13430ed7a1e621d9faa50e076d7906f (patch)
tree89198814b8674e33d622d5bfd8c6ddf319db407d /fs/f2fs/checkpoint.c
parentf2fs: remove writeback_inodes_sb in f2fs_remount (diff)
downloadlinux-beb78181f13430ed7a1e621d9faa50e076d7906f.tar.xz
linux-beb78181f13430ed7a1e621d9faa50e076d7906f.zip
f2fs: Remove the redundancy initialization
There are two assignments are meaningless, and remove them. Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 023462e80e58..9b0628e0d8bc 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -37,7 +37,7 @@ void f2fs_stop_checkpoint(struct f2fs_sb_info *sbi, bool end_io)
struct page *f2fs_grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index)
{
struct address_space *mapping = META_MAPPING(sbi);
- struct page *page = NULL;
+ struct page *page;
repeat:
page = f2fs_grab_cache_page(mapping, index, false);
if (!page) {