From 93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 21 Sep 2016 10:52:53 +1000 Subject: all: Remove 'name' member from mp_obj_module_t struct. One can instead lookup __name__ in the modules dict to get the value. --- py/modcmath.c | 1 - 1 file changed, 1 deletion(-) (limited to 'py/modcmath.c') diff --git a/py/modcmath.c b/py/modcmath.c index 33fe9c73f..7ad8f5ad6 100644 --- a/py/modcmath.c +++ b/py/modcmath.c @@ -160,7 +160,6 @@ STATIC MP_DEFINE_CONST_DICT(mp_module_cmath_globals, mp_module_cmath_globals_tab const mp_obj_module_t mp_module_cmath = { .base = { &mp_type_module }, - .name = MP_QSTR_cmath, .globals = (mp_obj_dict_t*)&mp_module_cmath_globals, }; -- cgit v1.2.3