diff --git a/cc3200/mptask.c b/cc3200/mptask.c
index 41264fbd065e8a2a132377bf0a3ed0c5f6ea7181..3c49a56035263cbe314577f4b88fe68c36c36836 100644
--- a/cc3200/mptask.c
+++ b/cc3200/mptask.c
@@ -302,8 +302,6 @@ STATIC void mptask_init_sflash_filesystem (void) {
     // Initialise the local flash filesystem.
     // init the vfs object
     fs_user_mount_t *vfs_fat = sflash_vfs_fat;
-    vfs_fat->str = NULL;
-    vfs_fat->len = 0;
     vfs_fat->flags = 0;
     pyb_flash_init_vfs(vfs_fat);
 
diff --git a/extmod/vfs_fat.c b/extmod/vfs_fat.c
index 82dd312b8f8f0fc6692b7a9224174b5a2bcb9917..8cd5a4674a27710d24a260af0e54722e68864724 100644
--- a/extmod/vfs_fat.c
+++ b/extmod/vfs_fat.c
@@ -55,8 +55,6 @@ STATIC mp_obj_t fat_vfs_make_new(const mp_obj_type_t *type, size_t n_args, size_
     fs_user_mount_t *vfs = m_new_obj(fs_user_mount_t);
     vfs->base.type = type;
     vfs->flags = FSUSER_FREE_OBJ;
-    vfs->str = NULL;
-    vfs->len = 0;
     vfs->fatfs.drv = vfs;
 
     // load block protocol methods
diff --git a/extmod/vfs_fat.h b/extmod/vfs_fat.h
index a5e3c604bfd8041ac58d4cce350e786bc44061b3..7eb865254f51a8986129955ebdfb06bb99f660b0 100644
--- a/extmod/vfs_fat.h
+++ b/extmod/vfs_fat.h
@@ -36,8 +36,6 @@
 
 typedef struct _fs_user_mount_t {
     mp_obj_base_t base;
-    const char *str;
-    uint16_t len; // length of str
     uint16_t flags;
     mp_obj_t readblocks[4];
     mp_obj_t writeblocks[4];
diff --git a/stmhal/main.c b/stmhal/main.c
index 3c9906ad26184c3a17e715051c4e8f35f0d6c848..8d076a08b12d26e0b05d4c3cfc5a424d7e25fffc 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -167,8 +167,6 @@ static const char fresh_readme_txt[] =
 MP_NOINLINE STATIC bool init_flash_fs(uint reset_mode) {
     // init the vfs object
     fs_user_mount_t *vfs_fat = &fs_user_mount_flash;
-    vfs_fat->str = NULL;
-    vfs_fat->len = 0;
     vfs_fat->flags = 0;
     pyb_flash_init_vfs(vfs_fat);
 
@@ -274,8 +272,6 @@ STATIC bool init_sdcard_fs(bool first_soft_reset) {
         if (vfs == NULL || vfs_fat == NULL) {
             break;
         }
-        vfs_fat->str = NULL;
-        vfs_fat->len = 0;
         vfs_fat->flags = FSUSER_FREE_OBJ;
         sdcard_init_vfs(vfs_fat, part_num);