summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-08-18 11:48:45 +1000
committerDamien George <damien@micropython.org>2022-08-18 11:48:45 +1000
commit237a393bec51ae564b2b9ded404ef58949a3bc63 (patch)
tree5a1493442889c249b9916ecb6b7f8d39f2234696
parentcbc9f944c4db6e3aee0bce0584b1eab674f0e5b9 (diff)
extmod/vfs_posix_file: Remove unused MICROPY_VFS_POSIX_FILE.
This was made obsolete by 2b409ef8a46015f8f3bd20bc44e644637dbe9bd3 Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--extmod/vfs_posix_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/vfs_posix_file.c b/extmod/vfs_posix_file.c
index 795ad7bbd..a758db14c 100644
--- a/extmod/vfs_posix_file.c
+++ b/extmod/vfs_posix_file.c
@@ -30,7 +30,7 @@
#include "py/stream.h"
#include "extmod/vfs_posix.h"
-#if MICROPY_VFS_POSIX || MICROPY_VFS_POSIX_FILE
+#if MICROPY_VFS_POSIX
#include <fcntl.h>
#include <unistd.h>
@@ -285,4 +285,4 @@ const mp_obj_vfs_posix_file_t mp_sys_stdin_obj = {{&mp_type_vfs_posix_textio}, S
const mp_obj_vfs_posix_file_t mp_sys_stdout_obj = {{&mp_type_vfs_posix_textio}, STDOUT_FILENO};
const mp_obj_vfs_posix_file_t mp_sys_stderr_obj = {{&mp_type_vfs_posix_textio}, STDERR_FILENO};
-#endif // MICROPY_VFS_POSIX || MICROPY_VFS_POSIX_FILE
+#endif // MICROPY_VFS_POSIX