From: Philippe Mathieu-Daudé Date: Tue, 1 Sep 2020 10:19:50 +0000 (+0200) Subject: hw/acpi/tco: Remove unused definitions X-Git-Tag: v5.2.0-rc0~121^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ff362df0fdc18a8edca7992ecb056bcf2cc8374;p=thirdparty%2Fqemu.git hw/acpi/tco: Remove unused definitions TCO_DEBUG() and DEBUG definitions are not used, remove them. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Laurent Vivier Message-Id: <20200901101951.85892-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- diff --git a/hw/acpi/tco.c b/hw/acpi/tco.c index fb9052dbca2..cf1e68a5393 100644 --- a/hw/acpi/tco.c +++ b/hw/acpi/tco.c @@ -15,17 +15,6 @@ #include "hw/acpi/tco.h" #include "trace.h" -//#define DEBUG - -#ifdef DEBUG -#define TCO_DEBUG(fmt, ...) \ - do { \ - fprintf(stderr, "%s "fmt, __func__, ## __VA_ARGS__); \ - } while (0) -#else -#define TCO_DEBUG(fmt, ...) do { } while (0) -#endif - enum { TCO_RLD_DEFAULT = 0x0000, TCO_DAT_IN_DEFAULT = 0x00,