]> git.baikalelectronics.ru Git - uboot.git/commit
fs: clean up around fs_type
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 7 Oct 2019 05:59:36 +0000 (14:59 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 17 Oct 2019 17:19:56 +0000 (19:19 +0200)
commitc70e5cbd26808b2891df144807d2ba1ff1dc8ff0
treebe9563ce41b02683c57d736856221846ad36563f
parent8e9ecc5d63d2740929de800a066d6ab955bd067f
fs: clean up around fs_type

fs_ls(), fs_mkdir() and fs_unlink() sets fs_type to FS_TYPE_ANY
explicitly, but it is redundant as they call fs_close().
So just remove those lines.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/fs.c