From 440462b18ee9ee167e0bf3bf2bf18c09dc99d4a3 Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Wed, 20 Mar 2019 00:16:37 +1100
Subject: [PATCH] py/runtime: Remove long-obsolete MICROPY_FSUSERMOUNT init
 code.

In 1808b2e8d5c9fff8020628a7849a537ffa9790e3 it was replaced by MICROPY_VFS
and related code.
---
 py/runtime.c | 5 -----
 1 file changed, 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;
-- 
GitLab