[Qemu-devel] [PATCH 6/6] unicore32/puv3: remove definition of DPRINTF

Laurent Vivier posted 6 patches 6 years, 10 months ago
[Qemu-devel] [PATCH 6/6] unicore32/puv3: remove definition of DPRINTF
Posted by Laurent Vivier 6 years, 10 months ago
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 <lvivier@redhat.com>
---
 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