diff options
author | Arseny Solokha <[email protected]> | 2015-02-24 16:05:04 +0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2015-04-08 10:46:58 +0200 |
commit | 19456060315cedc5595a47007f886369871dfbc5 (patch) | |
tree | 2dd149e2deb438aed97ada31d052cdfb7abd65e5 | |
parent | 92d71bc6951364c20f7d8c70a83cd93a68a63ea7 (diff) |
kvm/ppc/mpic: drop unused IRQ_testbit
Drop unused static procedure which doesn't have callers within its
translation unit. It had been already removed independently in QEMU[1]
from the OpenPIC implementation borrowed from the kernel.
[1] https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg01812.html
Signed-off-by: Arseny Solokha <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: Gleb Natapov <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
-rw-r--r-- | arch/powerpc/kvm/mpic.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index 4703fadd2737..6249cdc834d1 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; |