[PATCH 2/4] kvm/ppc/mpic: drop unused IRQ_testbit

Arseny Solokha asolokha at kb.kras.ru
Mon Feb 16 21:56:26 AEDT 2015


Drop unused static procedure which doesn't have callers within its
translation unit.

Signed-off-by: Arseny Solokha <asolokha at kb.kras.ru>
Cc: Alexander Graf <agraf at suse.de>
Cc: Gleb Natapov <gleb at kernel.org>
Cc: Paolo Bonzini <pbonzini at redhat.com>
---
 arch/powerpc/kvm/mpic.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c
index 39b3a8f..a480d99 100644
--- a/arch/powerpc/kvm/mpic.c
+++ b/arch/powerpc/kvm/mpic.c
@@ -289,11 +289,6 @@ static inline void IRQ_resetbit(struct irq_queue *q, int n_IRQ)
 	clear_bit(n_IRQ, q->queue);
 }
 
-static inline int IRQ_testbit(struct irq_queue *q, int n_IRQ)
-{
-	return test_bit(n_IRQ, q->queue);
-}
-
 static void IRQ_check(struct openpic *opp, struct irq_queue *q)
 {
 	int irq = -1;
-- 
2.3.0



More information about the Linuxppc-dev mailing list