From ed570e4b2a0a68e43b191fb0d5b45fb2ec83aca4 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 25 Jun 2015 13:58:41 +0000 Subject: py: Remove mp_load_const_str and replace uses with inlined version. --- py/runtime.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'py/runtime.c') diff --git a/py/runtime.c b/py/runtime.c index 4959617ef..5fcfa6f90 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -104,11 +104,6 @@ void mp_deinit(void) { #endif } -mp_obj_t mp_load_const_str(qstr qst) { - DEBUG_OP_printf("load '%s'\n", qstr_str(qst)); - return MP_OBJ_NEW_QSTR(qst); -} - mp_obj_t mp_load_const_bytes(qstr qst) { DEBUG_OP_printf("load b'%s'\n", qstr_str(qst)); mp_uint_t len; -- cgit v1.2.3