diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-29 19:50:32 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-30 12:26:08 +1100 |
commit | 0fb27888fc805e4b39f74153d8543fe7348eb886 (patch) | |
tree | 440771768930cd038601c9ee1fc4089efcb549e3 | |
parent | 196406e17a45dd87f12c2a1d7c97a67bb9dcb04f (diff) |
extmod/vfs_fat: Remove unused function fat_vfs_listdir.
-rw-r--r-- | extmod/vfs_fat.h | 1 | ||||
-rw-r--r-- | extmod/vfs_fat_misc.c | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/extmod/vfs_fat.h b/extmod/vfs_fat.h index 0eb963d16..a5e3c604b 100644 --- a/extmod/vfs_fat.h +++ b/extmod/vfs_fat.h @@ -59,5 +59,4 @@ mp_import_stat_t fat_vfs_import_stat(struct _fs_user_mount_t *vfs, const char *p mp_obj_t fatfs_builtin_open_self(mp_obj_t self_in, mp_obj_t path, mp_obj_t mode); MP_DECLARE_CONST_FUN_OBJ_KW(mp_builtin_open_obj); -mp_obj_t fat_vfs_listdir(const char *path, bool is_str_type); mp_obj_t fat_vfs_listdir2(struct _fs_user_mount_t *vfs, const char *path, bool is_str_type); diff --git a/extmod/vfs_fat_misc.c b/extmod/vfs_fat_misc.c index 97d2675cd..19db99c7f 100644 --- a/extmod/vfs_fat_misc.c +++ b/extmod/vfs_fat_misc.c @@ -36,10 +36,6 @@ // TODO: actually, the core function should be ilistdir() -mp_obj_t fat_vfs_listdir(const char *path, bool is_str_type) { - return fat_vfs_listdir2(NULL, path, is_str_type); -} - mp_obj_t fat_vfs_listdir2(fs_user_mount_t *vfs, const char *path, bool is_str_type) { FRESULT res; FILINFO fno; |