pci-bridge/dec: remove unused code
PATCH 1/1 pci-bridge/dec: remove unused code
Signed-off-by Peng Hao <[email protected]>
--- hw/pci-bridge/dec.c | 10 ---------- 1 file changed, 10 deletions(-)
hw/pci-bridge/dec.c +0 -10
@@ -31,16 +31,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
1.8.3.1
Quoted 16 lines · Peng Hao
Signed-off-by Peng Hao <[email protected]>--- hw/pci-bridge/dec.c | 10 ---------- 1 file changed, 10 deletions(-)hw/pci-bridge/dec.c +0
-3@@ -31,16 +31,6 @@#include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" -/* debug DEC */ -//#define DEBUG_DEC -
hw/pci-bridge/dec.c line 36
Quoted 10 lines
hw/pci-bridge/dec.c +0
-7-#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 {
Reviewed-by Marcel Apfelbaum<[email protected]>
Thanks,
Marcel