Skip to content

Commit 0fb2788

Browse files
committed
extmod/vfs_fat: Remove unused function fat_vfs_listdir.
1 parent 196406e commit 0fb2788

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

extmod/vfs_fat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,4 @@ mp_import_stat_t fat_vfs_import_stat(struct _fs_user_mount_t *vfs, const char *p
5959
mp_obj_t fatfs_builtin_open_self(mp_obj_t self_in, mp_obj_t path, mp_obj_t mode);
6060
MP_DECLARE_CONST_FUN_OBJ_KW(mp_builtin_open_obj);
6161

62-
mp_obj_t fat_vfs_listdir(const char *path, bool is_str_type);
6362
mp_obj_t fat_vfs_listdir2(struct _fs_user_mount_t *vfs, const char *path, bool is_str_type);

extmod/vfs_fat_misc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636

3737
// TODO: actually, the core function should be ilistdir()
3838

39-
mp_obj_t fat_vfs_listdir(const char *path, bool is_str_type) {
40-
return fat_vfs_listdir2(NULL, path, is_str_type);
41-
}
42-
4339
mp_obj_t fat_vfs_listdir2(fs_user_mount_t *vfs, const char *path, bool is_str_type) {
4440
FRESULT res;
4541
FILINFO fno;

0 commit comments

Comments
 (0)