Messages in this thread Patch in this message | | | From | Artem Bityutskiy <> | Subject | [PATCH 3/4] hfsplus: remove useless check | Date | Wed, 13 Jun 2012 14:37:50 +0300 |
| |
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
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> --- fs/hfsplus/super.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 9e9c2788..f4f3d54 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; -- 1.7.7.6
| |