powerpc/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:12 +11:00
parent de7e3607b0
commit 1e164be085
2 changed files with 0 additions and 9 deletions

View File

@@ -115,11 +115,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

@@ -94,10 +94,6 @@
typedef long mp_off_t;
// extra built in 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 MICROPY_HW_BOARD_NAME "bare-metal"
#define MICROPY_HW_MCU_NAME "POWERPC"