summaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-06-23 23:17:23 +0530
committerDavid Gibson <david@gibson.dropbear.id.au>2016-06-27 13:13:30 +1000
commitd29f08616936c3c315e08efbac5a769ec43e9119 (patch)
tree6d87fd31f2902a4431b032327f2475d4dec03d9f /hw/intc
parent6d18a7a1ff9665ad48a68a692fdf0a61edefcae8 (diff)
downloadqemu-d29f08616936c3c315e08efbac5a769ec43e9119.tar.gz
qemu-d29f08616936c3c315e08efbac5a769ec43e9119.tar.bz2
qemu-d29f08616936c3c315e08efbac5a769ec43e9119.zip
ppc/xics: Remove unused xics_set_irq_type()
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> [dwg: Adjusted for context to apply without original series] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
index cce7f3d112..2e83d41b14 100644
--- a/hw/intc/xics.c
+++ b/hw/intc/xics.c
@@ -694,17 +694,6 @@ static void ics_set_irq_type(ICSState *ics, int srcno, bool lsi)
lsi ? XICS_FLAGS_IRQ_LSI : XICS_FLAGS_IRQ_MSI;
}
-void xics_set_irq_type(XICSState *icp, int irq, bool lsi)
-{
- int src = xics_find_source(icp, irq);
- ICSState *ics;
-
- assert(src >= 0);
-
- ics = &icp->ics[src];
- ics_set_irq_type(ics, irq - ics->offset, lsi);
-}
-
#define ICS_IRQ_FREE(ics, srcno) \
(!((ics)->irqs[(srcno)].flags & (XICS_FLAGS_IRQ_MASK)))