summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-24 00:10:09 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-24 20:01:24 +0400
commit64e64ef609a1661c7115a4d29817f328810efcbc (patch)
treefa1c45c118e3fa39c3c984b5a1db6303bfa5a55e /hw
parent25b93db35810abf8c116ecc64831d62f4681a777 (diff)
downloadqemu-64e64ef609a1661c7115a4d29817f328810efcbc.tar.gz
qemu-64e64ef609a1661c7115a4d29817f328810efcbc.tar.bz2
qemu-64e64ef609a1661c7115a4d29817f328810efcbc.zip
hw/moxie/moxiesim.c: Remove unused moxie_intc_create()
The function moxie_intc_create() is unused; remove it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw')
-rw-r--r--hw/moxie/moxiesim.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c
index f4357cf0d8..430f8410d3 100644
--- a/hw/moxie/moxiesim.c
+++ b/hw/moxie/moxiesim.c
@@ -94,19 +94,6 @@ static void main_cpu_reset(void *opaque)
cpu_reset(CPU(cpu));
}
-static inline DeviceState *
-moxie_intc_create(hwaddr base, qemu_irq irq, int kind_of_intr)
-{
- DeviceState *dev;
-
- dev = qdev_create(NULL, "moxie,intc");
- qdev_prop_set_uint32(dev, "kind-of-intr", kind_of_intr);
- qdev_init_nofail(dev);
- sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, base);
- sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, irq);
- return dev;
-}
-
static void moxiesim_init(MachineState *machine)
{
MoxieCPU *cpu = NULL;