pic16bit/mpconfigport: Remove dummy builtins.open function.

The function does nothing so it's better that it doesn't exist at all.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2026-01-14 12:34:02 +11:00
parent 88343302ae
commit de7e3607b0
2 changed files with 0 additions and 9 deletions

View File

@@ -110,11 +110,6 @@ mp_import_stat_t mp_import_stat(const char *path) {
return MP_IMPORT_STAT_NO_EXIST;
}
mp_obj_t mp_builtin_open(size_t n_args, const mp_obj_t *args, mp_map_t *kwargs) {
return mp_const_none;
}
MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open);
void nlr_jump_fail(void *val) {
while (1) {
;

View File

@@ -79,10 +79,6 @@
typedef int mp_off_t;
// extra builtin names to add to the global namespace
#define MICROPY_PORT_BUILTINS \
{ MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
#define MP_STATE_PORT MP_STATE_VM
#define MICROPY_MPHALPORT_H "pic16bit_mphal.h"