Commit 30982583 authored by Salah Triki's avatar Salah Triki Committed by Luis de Bethencourt

fs/befs/linuxvfs.c: move useless assignment

Control is transfered to unacquire_none when sb->s_fs_info is equal to
NULL, so the assignment to NULL is useless and it is moved above
unacquire_none.

Link: http://lkml.kernel.org/r/ed41da113fc693c7daa4e8813ca04cc766ddfc05.1464226521.git.salah.triki@acm.orgSigned-off-by: default avatarSalah Triki <salah.triki@acm.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c8d2bc9b
......@@ -870,9 +870,9 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
unacquire_priv_sbp:
kfree(befs_sb->mount_opts.iocharset);
kfree(sb->s_fs_info);
sb->s_fs_info = NULL;
unacquire_none:
sb->s_fs_info = NULL;
return ret;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment