8000 nrf/modules/uos/microbitfs: Remove unused uos_mbfs_mount. · andrewleech/micropython@a461567 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit a461567

Browse files
aykevldpgeorge
authored andcommitted
nrf/modules/uos/microbitfs: Remove unused uos_mbfs_mount.
It throws an error in GCC 6.3.
1 parent 635064c commit a461567

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

ports/nrf/modules/uos/microbitfs.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -554,15 +554,6 @@ STATIC mp_obj_t uos_mbfs_file_close(mp_obj_t self) {
554554
}
555555
STATIC MP_DEFINE_CONST_FUN_OBJ_1(uos_mbfs_file_close_obj, uos_mbfs_file_close);
556556

557-
STATIC mp_obj_t uos_mbfs_mount(mp_obj_t self_in, mp_obj_t readonly, mp_obj_t mkfs) {
558-
// This function is called only once (indirectly from main()) and is
559-
// not exposed to Python code. So we can ignore the readonly flag and
560-
// not care about mounting a second time.
561-
microbit_filesystem_init();
562-
return mp_const_none;
563-
}
564-
STATIC MP_DEFINE_CONST_FUN_OBJ_3(uos_mbfs_mount_obj, uos_mbfs_mount);
565-
566557
STATIC mp_obj_t uos_mbfs_remove(mp_obj_t name) {
567558
return microbit_remove(name);
568559
}

0 commit comments

Comments
 (0)
0