提交 58770d7e 编写于 作者: A Artem Bityutskiy 提交者: Al Viro

hfsplus: remove useless check

This check is useless because we always have 'sb->s_fs_info' to be non-NULL.
Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 b7a90e80
...@@ -240,9 +240,6 @@ static void hfsplus_put_super(struct super_block *sb) ...@@ -240,9 +240,6 @@ static void hfsplus_put_super(struct super_block *sb)
dprint(DBG_SUPER, "hfsplus_put_super\n"); dprint(DBG_SUPER, "hfsplus_put_super\n");
if (!sb->s_fs_info)
return;
if (!(sb->s_flags & MS_RDONLY) && sbi->s_vhdr) { if (!(sb->s_flags & MS_RDONLY) && sbi->s_vhdr) {
struct hfsplus_vh *vhdr = sbi->s_vhdr; struct hfsplus_vh *vhdr = sbi->s_vhdr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册