mirror of https://gitee.com/openkylin/qemu.git
s390x/s390-virtio: get rid of DPRINTF
The DPRINTF approach is likely to introduce bitrot, and the preferred way for debugging is tracing anyway. Fortunately, there are no users (left), so nuke it. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
10f25e4844
commit
94b5024b1f
|
@ -44,16 +44,6 @@
|
||||||
#include "hw/s390x/ipl.h"
|
#include "hw/s390x/ipl.h"
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
|
|
||||||
//#define DEBUG_S390
|
|
||||||
|
|
||||||
#ifdef DEBUG_S390
|
|
||||||
#define DPRINTF(fmt, ...) \
|
|
||||||
do { fprintf(stderr, fmt, ## __VA_ARGS__); } while (0)
|
|
||||||
#else
|
|
||||||
#define DPRINTF(fmt, ...) \
|
|
||||||
do { } while (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAX_BLK_DEVS 10
|
#define MAX_BLK_DEVS 10
|
||||||
|
|
||||||
#define S390_TOD_CLOCK_VALUE_MISSING 0x00
|
#define S390_TOD_CLOCK_VALUE_MISSING 0x00
|
||||||
|
|
Loading…
Reference in New Issue