From: Artem Bityutskiy Date: Thu, 12 Jul 2012 14:26:30 +0000 (+0300) Subject: hfsplus: remove useless check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=58770d7e83eede5fafbcdf54a604277d70010705;p=openwrt%2Fstaging%2Fblogic.git hfsplus: remove useless check This check is useless because we always have 'sb->s_fs_info' to be non-NULL. Signed-off-by: Artem Bityutskiy Signed-off-by: Al Viro --- diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 9e9c278830de..f4f3d5463061 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c @@ -240,9 +240,6 @@ static void hfsplus_put_super(struct super_block *sb) dprint(DBG_SUPER, "hfsplus_put_super\n"); - if (!sb->s_fs_info) - return; - if (!(sb->s_flags & MS_RDONLY) && sbi->s_vhdr) { struct hfsplus_vh *vhdr = sbi->s_vhdr;