summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-06-25 13:58:41 +0000
committerDamien George <damien.p.george@gmail.com>2015-06-25 13:58:41 +0000
commited570e4b2a0a68e43b191fb0d5b45fb2ec83aca4 (patch)
tree63e95d7626abfaf062496d4734341315ae91810e /py/runtime.c
parent484adac0bb6712dca968e3db22e2a10a79b96448 (diff)
downloadmicropython-ed570e4b2a0a68e43b191fb0d5b45fb2ec83aca4.tar.gz
micropython-ed570e4b2a0a68e43b191fb0d5b45fb2ec83aca4.zip
py: Remove mp_load_const_str and replace uses with inlined version.
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 4959617eff..5fcfa6f905 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;