From bafad6e45316398df4fa1dc74ede7a64a7450d29 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Wed, 26 Mar 2025 20:26:01 +0200 Subject: [PATCH] chore(core): remove unused function from `modtrezorutils-meminfo.h` [no changelog] --- .../modtrezorutils/modtrezorutils-meminfo.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core/embed/upymod/modtrezorutils/modtrezorutils-meminfo.h b/core/embed/upymod/modtrezorutils/modtrezorutils-meminfo.h index 54c0d39b85..98ad80d65e 100644 --- a/core/embed/upymod/modtrezorutils/modtrezorutils-meminfo.h +++ b/core/embed/upymod/modtrezorutils/modtrezorutils-meminfo.h @@ -717,21 +717,6 @@ void dump_qstr_pool(FILE *out, const qstr_pool_t *pool) { } } -void dump_qstrdata(FILE *out) { - const qstr_pool_t *pool = MP_STATE_VM(last_pool); - while (pool != NULL) { - for (const char *const *q = pool->qstrs, *const *q_top = - pool->qstrs + pool->len; - q < q_top; q++) { - if ((void *)*q > (void *)mp_state_ctx.mem.gc_pool_start) { - print_type(out, "qstrdata", NULL, q, false); - fprintf(out, ", \"pool\": \"%p\"},\n", pool); - } - } - pool = pool->prev; - } -} - static void dump_meminfo_json(FILE *out) { bool should_close = true; if (out == NULL) {