Commit 1bdb6f91 authored by OGAWA Hirofumi's avatar OGAWA Hirofumi
Browse files

fat: Cleanup nls_unload() usage



Other users doesn't check NULL explicitly. So, these doesn't also
check to remove inconsistency.

Signed-off-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
parent 3ed3dec1
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1497,9 +1497,7 @@ out_fail:
		iput(fat_inode);
	if (root_inode)
		iput(root_inode);
	if (sbi->nls_io)
	unload_nls(sbi->nls_io);
	if (sbi->nls_disk)
	unload_nls(sbi->nls_disk);
	if (sbi->options.iocharset != fat_default_iocharset)
		kfree(sbi->options.iocharset);