diff options
| author | Ayke van Laethem | 2018-04-29 15:46:02 +0200 |
|---|---|---|
| committer | Damien George | 2018-07-18 17:12:26 +1000 |
| commit | a4615672d494a0985823025d6ff9d94d5ffd1ef7 (patch) | |
| tree | e16daa1dd4ec5b0f85fdc61db30f513e2b3c3302 | |
| parent | 635064c432b15407a29a78158d31108a4152fbde (diff) | |
nrf/modules/uos/microbitfs: Remove unused uos_mbfs_mount.
It throws an error in GCC 6.3.
| -rw-r--r-- | ports/nrf/modules/uos/microbitfs.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ports/nrf/modules/uos/microbitfs.c b/ports/nrf/modules/uos/microbitfs.c index 1750262aa..863a49d46 100644 --- a/ports/nrf/modules/uos/microbitfs.c +++ b/ports/nrf/modules/uos/microbitfs.c @@ -554,15 +554,6 @@ STATIC mp_obj_t uos_mbfs_file_close(mp_obj_t self) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(uos_mbfs_file_close_obj, uos_mbfs_file_close); -STATIC mp_obj_t uos_mbfs_mount(mp_obj_t self_in, mp_obj_t readonly, mp_obj_t mkfs) { - // This function is called only once (indirectly from main()) and is - // not exposed to Python code. So we can ignore the readonly flag and - // not care about mounting a second time. - microbit_filesystem_init(); - return mp_const_none; -} -STATIC MP_DEFINE_CONST_FUN_OBJ_3(uos_mbfs_mount_obj, uos_mbfs_mount); - STATIC mp_obj_t uos_mbfs_remove(mp_obj_t name) { return microbit_remove(name); } |
