projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fa799
)
hw/intc/openpic: Remove unused function IRQ_testbit()
author
Peter Maydell
<peter.maydell@linaro.org>
Sat, 7 Jun 2014 16:50:22 +0000
(17:50 +0100)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Jun 2014 15:39:34 +0000
(19:39 +0400)
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>
hw/intc/openpic.c
patch
|
blob
|
history
diff --git
a/hw/intc/openpic.c
b/hw/intc/openpic.c
index 17136c9333348989af5fa96ea09d56c661ea88c4..08e0e19c59b1945cc29a87779be19bec8e837fab 100644
(file)
--- 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;