hw/pci-bridge/dec: Remove dead debug code
PATCH 1/1 hw/pci-bridge/dec: Remove dead debug code
Remove debug code never used since added in commit e1c6bbabee30.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- hw/pci-bridge/dec.c | 10 ---------- 1 file changed, 10 deletions(-)
hw/pci-bridge/dec.c +0 -10
@@ -32,16 +32,6 @@#include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" -/* debug DEC */ -//#define DEBUG_DEC - -#ifdef DEBUG_DEC -#define DEC_DPRINTF (fmt, ...) \ - do { printf("DEC: " fmt , ## __VA_ARGS__); } while (0) -#else -#define DEC_DPRINTF (fmt, ...) -#endif -#define DEC_21154 (obj) OBJECT_CHECK(DECState, (obj), TYPE_DEC_21154) typedef struct DECState {
Signature · 1 line
2.21.3
David Gibson
AppliedQuoted 3 lines · Philippe Mathieu-Daudé
Remove debug code never used since added in commit
e1c6bbabee30.Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Applied to ppc-for-5.1, thanks.
Quoted 25 lines
--- hw/pci-bridge/dec.c | 10 ---------- 1 file changed, 10 deletions(-)hw/pci-bridge/dec.c +0
-10@@ -32,16 +32,6 @@#include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" -/* debug DEC */ -//#define DEBUG_DEC - -#ifdef DEBUG_DEC -#define DEC_DPRINTF (fmt, ...) \ - do { printf("DEC: " fmt , ## __VA_ARGS__); } while (0) -#else -#define DEC_DPRINTF (fmt, ...) -#endif -#define DEC_21154 (obj) OBJECT_CHECK(DECState, (obj), TYPE_DEC_21154) typedef struct DECState {
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson