[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/6] unicore32/puv3: remove definition of DPRINTF
From: |
Laurent Vivier |
Subject: |
[Qemu-devel] [PATCH 6/6] unicore32/puv3: remove definition of DPRINTF |
Date: |
Wed, 12 Dec 2018 18:30:07 +0100 |
As previous patches have removed the use of DPRINTF from puv3 files,
we can remove the definition from puv3.h
Signed-off-by: Laurent Vivier <address@hidden>
---
include/hw/unicore32/puv3.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/hw/unicore32/puv3.h b/include/hw/unicore32/puv3.h
index f587a1f622..a876f21dfb 100644
--- a/include/hw/unicore32/puv3.h
+++ b/include/hw/unicore32/puv3.h
@@ -30,11 +30,4 @@
#define PUV3_IRQS_PS2_AUX (23)
#define PUV3_IRQS_OST0 (26)
-/* All puv3_*.c use DPRINTF for debug. */
-#ifdef DEBUG_PUV3
-#define DPRINTF(fmt, ...) printf("%s: " fmt , __func__, ## __VA_ARGS__)
-#else
-#define DPRINTF(fmt, ...) do {} while (0)
-#endif
-
#endif /* QEMU_HW_PUV3_H */
--
2.19.2
- [Qemu-devel] [PATCH 0/6] unicore32/puv3: Convert from DPRINTF() macro to trace event, Laurent Vivier, 2018/12/12
- [Qemu-devel] [PATCH 3/6] hw/dma/puv3_intc: Convert from DPRINTF() macro to trace event, Laurent Vivier, 2018/12/12
- [Qemu-devel] [PATCH 6/6] unicore32/puv3: remove definition of DPRINTF,
Laurent Vivier <=
- [Qemu-devel] [PATCH 2/6] hw/dma/puv3_gpio: Convert from DPRINTF() macro to trace event, Laurent Vivier, 2018/12/12
- [Qemu-devel] [PATCH 5/6] hw/timer/puv3_ost: Convert from DPRINTF() macro to trace event, Laurent Vivier, 2018/12/12
- [Qemu-devel] [PATCH 4/6] hw/misc/puv3_pm: Convert from DPRINTF() macro to trace event, Laurent Vivier, 2018/12/12
- [Qemu-devel] [PATCH 1/6] hw/dma/puv3_dma: Convert from DPRINTF() macro to trace event, Laurent Vivier, 2018/12/12