From 21aa58e9b60ffde9b756f07b7c7ecd82275a7162 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 13 Feb 2025 13:43:47 +0100 Subject: [PATCH] pan/bi: remove unused debug output There's no more users left of this switch or macro, so let's just get rid of it. Reviewed-by: Iago Toral Quiroga Part-of: --- src/panfrost/compiler/bifrost_compile.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index f6cc6aa9537..bc51b071599 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -42,7 +42,6 @@ /* clang-format off */ static const struct debug_named_value bifrost_debug_options[] = { - {"msgs", BIFROST_DBG_MSGS, "Print debug messages"}, {"shaders", BIFROST_DBG_SHADERS, "Dump shaders in NIR and MIR"}, {"shaderdb", BIFROST_DBG_SHADERDB, "Print statistics"}, {"verbose", BIFROST_DBG_VERBOSE, "Disassemble verbosely"}, @@ -69,12 +68,6 @@ DEBUG_GET_ONCE_FLAGS_OPTION(bifrost_debug, "BIFROST_MESA_DEBUG", int bifrost_debug = 0; -#define DBG(fmt, ...) \ - do { \ - if (bifrost_debug & BIFROST_DBG_MSGS) \ - fprintf(stderr, "%s:%d: " fmt, __func__, __LINE__, ##__VA_ARGS__); \ - } while (0) - static bi_block *emit_cf_list(bi_context *ctx, struct exec_list *list); static bi_index