Skip to contentSkip to conversation

hw/intc/openpic: Remove unused function IRQ_testbit()

PATCH Applied Peter Maydell 2 participants 2 messages Jun 7, 2014 – Jun 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/intc/openpic: Remove unused function IRQ_testbit()

The IRQ_testbit() function is never used; remove it.

---
 hw/intc/openpic.c | 5 -----
 1 file changed, 5 deletions(-)
hw/intc/openpic.c +0 -5
index 17136c9..08e0e19 100644
@@ -311,11 +311,6 @@ static inline void IRQ_resetbit(IRQQueue *q, int n_IRQ)
     clear_bit(n_IRQ, q->queue);
 }
 
-static inline int IRQ_testbit(IRQQueue *q, int n_IRQ)
-{
-    return test_bit(n_IRQ, q->queue);
-}
-
 static void IRQ_check(OpenPICState *opp, IRQQueue *q)
 {
     int irq = -1;
Signature · 1 line
1.8.5.4