summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-03-20 00:16:37 +1100
committerDamien George <damien.p.george@gmail.com>2019-03-20 00:16:37 +1100
commit440462b18ee9ee167e0bf3bf2bf18c09dc99d4a3 (patch)
tree37bfac39e4a35086f8b4468a56d3cb4bf07c4e90
parentec6e62efc2426a2edab58e5fad178873a1eaba8c (diff)
py/runtime: Remove long-obsolete MICROPY_FSUSERMOUNT init code.
In 1808b2e8d5c9fff8020628a7849a537ffa9790e3 it was replaced by MICROPY_VFS and related code.
-rw-r--r--py/runtime.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 7f8ff84e5..4a50698cb 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -111,11 +111,6 @@ void mp_init(void) {
}
#endif
- #if MICROPY_FSUSERMOUNT
- // zero out the pointers to the user-mounted devices
- memset(MP_STATE_VM(fs_user_mount), 0, sizeof(MP_STATE_VM(fs_user_mount)));
- #endif
-
#if MICROPY_VFS
// initialise the VFS sub-system
MP_STATE_VM(vfs_cur) = NULL;