From: Peter Maydell Date: Sat, 7 Jun 2014 16:50:22 +0000 (+0100) Subject: hw/intc/openpic: Remove unused function IRQ_testbit() X-Git-Tag: v2.1.0-rc0~66^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1d75727931e30da1b2c28887f21278812cae57c;p=thirdparty%2Fqemu.git hw/intc/openpic: Remove unused function IRQ_testbit() The IRQ_testbit() function is never used; remove it. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c index 17136c93333..08e0e19c59b 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;