hfsplus: remove useless check
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 12 Jul 2012 14:26:30 +0000 (17:26 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:58:03 +0000 (23:58 +0400)
This check is useless because we always have 'sb->s_fs_info' to be non-NULL.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfsplus/super.c

index 9e9c278830de156cae150121707c0c4a61b2e43f..f4f3d54630613d4aacbb5a18898b2340c178cb60 100644 (file)
@@ -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;