From patchwork Fri Nov 30 06:41:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4/4] ext4: remove redundant initialization in ext4_fill_super() Date: Thu, 29 Nov 2012 20:41:46 -0000 From: Guo Chao X-Patchwork-Id: 202880 Message-Id: <1354257706-6582-4-git-send-email-yan@linux.vnet.ibm.com> To: tytso@mit.edu Cc: linux-ext4@vger.kernel.org We use kzalloc() to allocate sbi, no need to zero its field. Signed-off-by: Guo Chao --- fs/ext4/super.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 15d28e3..a99f6c7 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -3799,7 +3799,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;