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>
ret = info->ls(dirname);
- fs_type = FS_TYPE_ANY;
fs_close();
return ret;
ret = info->unlink(filename);
- fs_type = FS_TYPE_ANY;
fs_close();
return ret;
ret = info->mkdir(dirname);
- fs_type = FS_TYPE_ANY;
fs_close();
return ret;