From: Guo Chao Date: Mon, 10 Dec 2012 19:06:04 +0000 (-0500) Subject: ext4: remove redundant initialization in ext4_fill_super() X-Git-Tag: v3.8-rc2~9^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b280c913ee02a1a41b020a74c41584f2fca582a;p=profile%2Fcommon%2Fkernel-common.git ext4: remove redundant initialization in ext4_fill_super() We use kzalloc() to allocate sbi, no need to zero its field. Signed-off-by: Guo Chao Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index c2ea525..e1e216f 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -3798,7 +3798,6 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) INIT_LIST_HEAD(&sbi->s_orphan); /* unlinked but open files */ mutex_init(&sbi->s_orphan_lock); - sbi->s_resize_flags = 0; sb->s_root = NULL;