* [Qemu-devel] [PATCH] hw/intc/openpic: Remove unused function IRQ_testbit()
@ 2014-06-07 16:50 Peter Maydell
2014-06-08 10:59 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Peter Maydell @ 2014-06-07 16:50 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, qemu-ppc, patches
The IRQ_testbit() function is never used; remove it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/intc/openpic: Remove unused function IRQ_testbit()
2014-06-07 16:50 [Qemu-devel] [PATCH] hw/intc/openpic: Remove unused function IRQ_testbit() Peter Maydell
@ 2014-06-08 10:59 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2014-06-08 10:59 UTC (permalink / raw)
To: Peter Maydell, qemu-devel; +Cc: qemu-trivial, qemu-ppc, patches
Applied to -trivial, thanks!
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-08 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-07 16:50 [Qemu-devel] [PATCH] hw/intc/openpic: Remove unused function IRQ_testbit() Peter Maydell
2014-06-08 10:59 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).