Skip to contentSkip to conversation

hw/intc/i8259: Remove unused DEBUG_PIC define

PATCH In review BALATON Zoltan 3 participants 4 messages Apr 23, 2025 – Apr 25, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/intc/i8259: Remove unused DEBUG_PIC define

The debug printfs were converted to traces so this define is now unused.

Fixes 0880a87300 (i8259: convert DPRINTFs into trace)
---
 hw/intc/i8259.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
hw/intc/i8259.c +1 -4
index d88b20f40b..6a204f7d21 100644
@@ -32,10 +32,7 @@
 #include "trace.h"
 #include "qom/object.h"
 
-/* debug PIC */
-//#define DEBUG_PIC
-
-//#define DEBUG_IRQ_LATENCY
+/*#define DEBUG_IRQ_LATENCY*/
 
 #define TYPE_I8259 "isa-i8259"
 typedef struct PICClass PICClass;
Signature · 1 line
2.41.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · BALATON Zoltan

The debug printfs were converted to traces so this define is now unused.

Fixes 0880a87300 (i8259: convert DPRINTFs into trace)
---
  hw/intc/i8259.c | 5 +----
  1 file changed, 1 insertion(+), 4 deletions(-)
hw/intc/i8259.c +0 -0
index d88b20f40b..6a204f7d21 100644
@@ -32,10 +32,7 @@
  #include "trace.h"

hw/intc/i8259.c line 38

Quoted 10 lines
hw/intc/i8259.c +1 -4
  #include "qom/object.h"
 
-/* debug PIC */
-//#define DEBUG_PIC
-
-//#define DEBUG_IRQ_LATENCY
+/*#define DEBUG_IRQ_LATENCY*/
 
  #define TYPE_I8259 "isa-i8259"
  typedef struct PICClass PICClass;

ATB,

Mark.