mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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>
This commit is contained in:
parent
25b93db358
commit
64e64ef609
1 changed files with 0 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue