summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-07-02 15:05:41 -0500
committerDamien George <damien@micropython.org>2022-07-18 13:52:01 +1000
commitd532c55e3b8ee7955bea99fc79ccd74d9a35f757 (patch)
tree1305945fdd9384994387dae380dc3d7b5842fdf7 /py
parent631b692177ef1e6ba2832ee224e2680ac9982dbf (diff)
downloadmicropython-d532c55e3b8ee7955bea99fc79ccd74d9a35f757.tar.gz
micropython-d532c55e3b8ee7955bea99fc79ccd74d9a35f757.zip
extmod/modlwip: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register lwip_slip_stream instead of using a conditional inside of mp_state_vm_t. Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'py')
-rw-r--r--py/mpstate.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 53bb882ceb..7ad9d6b293 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -198,10 +198,6 @@ typedef struct _mp_state_vm_t {
// root pointers for extmod
- #if MICROPY_PY_LWIP_SLIP
- mp_obj_t lwip_slip_stream;
- #endif
-
#if MICROPY_VFS
struct _mp_vfs_mount_t *vfs_cur;
struct _mp_vfs_mount_t *vfs_mount_table;