qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PULL 11/25] hw/intc/openpic: Remove unused function IRQ_te


From: Michael Tokarev
Subject: [Qemu-devel] [PULL 11/25] hw/intc/openpic: Remove unused function IRQ_testbit()
Date: Tue, 10 Jun 2014 20:08:29 +0400

From: Peter Maydell <address@hidden>

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

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 hw/intc/openpic.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c
index 17136c9..08e0e19 100644
--- a/hw/intc/openpic.c
+++ b/hw/intc/openpic.c
@@ -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;
-- 
1.7.10.4




reply via email to

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