[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/8] hw/audio/es1370: remove unused dolog macro
|
From: |
marcandre . lureau |
|
Subject: |
[PULL 3/8] hw/audio/es1370: remove unused dolog macro |
|
Date: |
Wed, 11 Oct 2023 10:30:56 +0400 |
From: Volker Rümelin <vr_qemu@t-online.de>
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>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20230917065813.6692-3-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 2b55e31a9a..dd09fd59e1 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.41.0
- [PULL 0/8] Audio patches, marcandre . lureau, 2023/10/11
- [PULL 1/8] hw/audio/es1370: reset current sample counter, marcandre . lureau, 2023/10/11
- [PULL 2/8] hw/audio/es1370: replace bit-rotted code with tracepoints, marcandre . lureau, 2023/10/11
- [PULL 3/8] hw/audio/es1370: remove unused dolog macro,
marcandre . lureau <=
- [PULL 4/8] hw/audio/es1370: remove #ifdef ES1370_DEBUG to avoid bit rot, marcandre . lureau, 2023/10/11
- [PULL 8/8] hw/audio/es1370: trace lost interrupts, marcandre . lureau, 2023/10/11
- [PULL 5/8] hw/audio/es1370: remove #ifdef ES1370_VERBOSE to avoid bit rot, marcandre . lureau, 2023/10/11
- [PULL 7/8] hw/audio/es1370: change variable type and name, marcandre . lureau, 2023/10/11
- [PULL 6/8] hw/audio/es1370: block structure coding style fixes, marcandre . lureau, 2023/10/11
- Re: [PULL 0/8] Audio patches, Stefan Hajnoczi, 2023/10/11