Skip to content

Commit

Permalink
hfsplus: remove useless check
Browse files Browse the repository at this point in the history
This check is useless because we always have 'sb->s_fs_info' to be non-NULL.

Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
dedekind authored and Al Viro committed Jul 22, 2012
1 parent b7a90e8 commit 58770d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/hfsplus/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 58770d7

Please sign in to comment.