Received: from eggs.gnu.org ([2001:4830:134:3::10]:57980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtJp2-0001Qy-6v for qemu-devel@nongnu.org; Sat, 07 Jun 2014 12:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtJp1-0001EQ-DC for qemu-devel@nongnu.org; Sat, 07 Jun 2014 12:50:24 -0400 From: Peter Maydell Date: Sat, 7 Jun 2014 17:50:22 +0100 Message-Id: <1402159822-13735-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH] hw/intc/openpic: Remove unused function IRQ_testbit() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, qemu-ppc@nongnu.org, patches@linaro.org The IRQ_testbit() function is never used; remove it. Signed-off-by: Peter Maydell --- hw/intc/openpic.c | 5 ----- 1 file changed, 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; -- 1.8.5.4