From c1d75727931e30da1b2c28887f21278812cae57c Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Sat, 7 Jun 2014 17:50:22 +0100 Subject: [PATCH] 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 --- hw/intc/openpic.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c index 17136c9333..08e0e19c59 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; -- GitLab