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.org
Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Salah Triki 2016-07-23 22:36:41 +10:00 committed by Luis de Bethencourt
parent c8d2bc9bc3
commit 30982583e4

View file

@ -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;
}