From 196406e17a45dd87f12c2a1d7c97a67bb9dcb04f Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 29 Jan 2017 19:50:16 +1100 Subject: extmod/vfs_fat: Remove unused fatfs_builtin_open function. --- extmod/vfs_fat_file.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'extmod/vfs_fat_file.c') diff --git a/extmod/vfs_fat_file.c b/extmod/vfs_fat_file.c index 0f2a7a1aa4..62da23f948 100644 --- a/extmod/vfs_fat_file.c +++ b/extmod/vfs_fat_file.c @@ -289,14 +289,6 @@ const mp_obj_type_t mp_type_textio = { .locals_dict = (mp_obj_dict_t*)&rawfile_locals_dict, }; -// Factory function for I/O stream classes -mp_obj_t fatfs_builtin_open(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs) { - // TODO: analyze buffering args and instantiate appropriate type - mp_arg_val_t arg_vals[FILE_OPEN_NUM_ARGS]; - mp_arg_parse_all(n_args, args, kwargs, FILE_OPEN_NUM_ARGS, file_open_args, arg_vals); - return file_open(NULL, &mp_type_textio, arg_vals); -} - // Factory function for I/O stream classes mp_obj_t fatfs_builtin_open_self(mp_obj_t self_in, mp_obj_t path, mp_obj_t mode) { // TODO: analyze buffering args and instantiate appropriate type -- cgit v1.2.3