qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Laurent Vivier
Subject: [Qemu-trivial] [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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]