diff mbox

[PULL,11/25] hw/intc/openpic: Remove unused function IRQ_testbit()

Message ID 1402416523-13212-12-git-send-email-mjt@msgid.tls.msk.ru
State Accepted
Commit c1d75727931e30da1b2c28887f21278812cae57c
Headers show

Commit Message

Michael Tokarev June 10, 2014, 4:08 p.m. UTC
From: Peter Maydell <peter.maydell@linaro.org>

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

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 hw/intc/openpic.c |    5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

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;