aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorDamien George2017-03-10 19:09:42 +1100
committerDamien George2017-03-10 19:09:42 +1100
commit12d0731b91d8e58ba20ec28adf2d6c1aa995d74a (patch)
tree163a0c33896ecf15c978d81a4ee3e4392b82a236 /stmhal
parent70201f40386c42fec8bd20af06fe31a69f3af7db (diff)
extmod/vfs_fat: Remove obsolete and unused str/len members.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 3c9906ad2..8d076a08b 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);