py: Remove mp_load_const_str and replace uses with inlined version.

This commit is contained in:
Damien George
2015-06-25 13:58:41 +00:00
parent 484adac0bb
commit ed570e4b2a
6 changed files with 3 additions and 12 deletions

View File

@@ -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;