diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-07 17:50:22 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-06-10 19:39:34 +0400 |
commit | c1d75727931e30da1b2c28887f21278812cae57c (patch) | |
tree | 6f90699b17fe9d871cce39efdca42b5eb553f9a6 /hw/intc | |
parent | a1fa7992a90658d803b8abaf182440c36c460d51 (diff) | |
download | qemu-c1d75727931e30da1b2c28887f21278812cae57c.zip qemu-c1d75727931e30da1b2c28887f21278812cae57c.tar.gz qemu-c1d75727931e30da1b2c28887f21278812cae57c.tar.bz2 |
hw/intc/openpic: Remove unused function IRQ_testbit()
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>
Diffstat (limited to 'hw/intc')
-rw-r--r-- | hw/intc/openpic.c | 5 |
1 files changed, 0 insertions, 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; |