summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-06-11 12:32:23 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2014-07-09 14:57:57 +0200
commit8bc6f60e3f7f31c4ce370b4b27b8f4b355b7f07e (patch)
tree655065bde55eb6acd196afff74fd96d0def20640 /fs/f2fs/segment.c
parentf2fs: fix not to allocate unnecessary blocks during fallocate (diff)
downloadlinux-8bc6f60e3f7f31c4ce370b4b27b8f4b355b7f07e.tar.xz
linux-8bc6f60e3f7f31c4ce370b4b27b8f4b355b7f07e.zip
f2fs: remove unused variables in f2fs_sm_info
Remove unused variables in struct f2fs_sm_info. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/segment.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index f25f0e07e26f..b22d5a0652bb 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1885,8 +1885,6 @@ int build_segment_manager(struct f2fs_sb_info *sbi)
/* init sm info */
sbi->sm_info = sm_info;
- INIT_LIST_HEAD(&sm_info->wblist_head);
- spin_lock_init(&sm_info->wblist_lock);
sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr);
sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr);
sm_info->segment_count = le32_to_cpu(raw_super->segment_count);