[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/8] hw/audio/es1370: remove unused dolog macro
From: |
Volker Rümelin |
Subject: |
[PATCH 3/8] hw/audio/es1370: remove unused dolog macro |
Date: |
Sun, 17 Sep 2023 08:58:08 +0200 |
The dolog macro is unused. Remove the macro and use the now unused
ES1370_VERBOSE macro to replace its inverse ES1370_SILENT macro.
Tested-by: Rene Engel <ReneEngel80@emailn.de>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
---
hw/audio/es1370.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/hw/audio/es1370.c b/hw/audio/es1370.c
index 0b9fdc8f41..f66feb5bb0 100644
--- a/hw/audio/es1370.c
+++ b/hw/audio/es1370.c
@@ -24,7 +24,6 @@
/* #define DEBUG_ES1370 */
/* #define VERBOSE_ES1370 */
-#define SILENT_ES1370
#include "qemu/osdep.h"
#include "hw/audio/soundhw.h"
@@ -243,12 +242,6 @@ static void print_sctl (uint32_t val)
#endif
#ifdef VERBOSE_ES1370
-#define dolog(...) AUD_log ("es1370", __VA_ARGS__)
-#else
-#define dolog(...)
-#endif
-
-#ifndef SILENT_ES1370
#define lwarn(...) AUD_log ("es1370: warning", __VA_ARGS__)
#else
#define lwarn(...)
--
2.35.3
- [PATCH 0/8] hw/audio/es1370: bug fix, Volker Rümelin, 2023/09/17
- [PATCH 1/8] hw/audio/es1370: reset current sample counter, Volker Rümelin, 2023/09/17
- [PATCH 2/8] hw/audio/es1370: replace bit-rotted code with tracepoints, Volker Rümelin, 2023/09/17
- [PATCH 5/8] hw/audio/es1370: remove #ifdef ES1370_VERBOSE to avoid bit rot, Volker Rümelin, 2023/09/17
- [PATCH 3/8] hw/audio/es1370: remove unused dolog macro,
Volker Rümelin <=
- [PATCH 4/8] hw/audio/es1370: remove #ifdef ES1370_DEBUG to avoid bit rot, Volker Rümelin, 2023/09/17
- [PATCH 6/8] hw/audio/es1370: block structure coding style fixes, Volker Rümelin, 2023/09/17
- [PATCH 8/8] hw/audio/es1370: trace lost interrupts, Volker Rümelin, 2023/09/17
- [PATCH 7/8] hw/audio/es1370: change variable type and name, Volker Rümelin, 2023/09/17
- Re: [PATCH 0/8] hw/audio/es1370: bug fix, Marc-André Lureau, 2023/09/18