From 23cff5b4936987edf0db082110cba0ee2415495d Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Sun, 11 Feb 2024 00:39:53 -0800 Subject: [PATCH] [lib][debug] remove unused function --- lib/debug/debug.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/debug/debug.c b/lib/debug/debug.c index b8876a2be..7862467ad 100644 --- a/lib/debug/debug.c +++ b/lib/debug/debug.c @@ -55,16 +55,6 @@ void assert_fail(const char* file, int line, const char* expression) { #if !DISABLE_DEBUG_OUTPUT -static int __panic_stdio_fgetc(void *ctx) { - char c; - int err; - - err = platform_pgetc(&c, false); - if (err < 0) - return err; - return (unsigned char)c; -} - static ssize_t __panic_stdio_read(io_handle_t *io, char *s, size_t len) { if (len == 0) return 0;