summaryrefslogtreecommitdiff
path: root/extmod/modmachine.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/modmachine.c')
-rw-r--r--extmod/modmachine.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/extmod/modmachine.c b/extmod/modmachine.c
index 2fe72817b..a423d8067 100644
--- a/extmod/modmachine.c
+++ b/extmod/modmachine.c
@@ -62,7 +62,6 @@ NORETURN static void mp_machine_deepsleep(size_t n_args, const mp_obj_t *args);
#endif
static mp_obj_t machine_soft_reset(void) {
- pyexec_system_exit = PYEXEC_FORCED_EXIT;
mp_raise_type(&mp_type_SystemExit);
}
static MP_DEFINE_CONST_FUN_OBJ_0(machine_soft_reset_obj, machine_soft_reset);