mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
a1fa7992a9
commit
c1d7572793
|
@ -311,11 +311,6 @@ static inline void IRQ_resetbit(IRQQueue *q, int n_IRQ)
|
||||||
clear_bit(n_IRQ, q->queue);
|
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)
|
static void IRQ_check(OpenPICState *opp, IRQQueue *q)
|
||||||
{
|
{
|
||||||
int irq = -1;
|
int irq = -1;
|
||||||
|
|
Loading…
Reference in New Issue