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: qemu-xen-4.6.0-rc1~394^2~14 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c1d75727931e30da1b2c28887f21278812cae57c;p=qemu-upstream-4.6-testing.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 17136c933..08e0e19c5 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;