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>
This commit is contained in:
parent
b7a90e8043
commit
58770d7e83
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue