summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-07-12 17:26:30 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-22 23:58:03 +0400
commit58770d7e83eede5fafbcdf54a604277d70010705 (patch)
treefbb6772b943bfd6ef0513bc7ec8d87a50ea9b330 /fs
parentb7a90e8043e7ab1922126e1c1c5c004b470f9e2a (diff)
downloadlinux-3.10-58770d7e83eede5fafbcdf54a604277d70010705.tar.gz
linux-3.10-58770d7e83eede5fafbcdf54a604277d70010705.tar.bz2
linux-3.10-58770d7e83eede5fafbcdf54a604277d70010705.zip
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 <artem.bityutskiy@linux.intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/hfsplus/super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index 9e9c278830d..f4f3d546306 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;