mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06:00
hw/audio/es1370: remove unused dolog macro
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>
This commit is contained in:
parent
0116f746d0
commit
190514258c
1 changed files with 0 additions and 7 deletions
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
/* #define DEBUG_ES1370 */
|
/* #define DEBUG_ES1370 */
|
||||||
/* #define VERBOSE_ES1370 */
|
/* #define VERBOSE_ES1370 */
|
||||||
#define SILENT_ES1370
|
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "hw/audio/soundhw.h"
|
#include "hw/audio/soundhw.h"
|
||||||
|
@ -243,12 +242,6 @@ static void print_sctl (uint32_t val)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef VERBOSE_ES1370
|
#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__)
|
#define lwarn(...) AUD_log ("es1370: warning", __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define lwarn(...)
|
#define lwarn(...)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue