lm32: remove unused function
The milkymist-minimac device in fact does not exist at all. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Michael Walle <michael@walle.cc> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
eeb29fb9aa
commit
58427a0f42
@ -170,22 +170,6 @@ static inline DeviceState *milkymist_ac97_create(hwaddr base,
|
||||
return dev;
|
||||
}
|
||||
|
||||
static inline DeviceState *milkymist_minimac_create(hwaddr base,
|
||||
qemu_irq rx_irq, qemu_irq tx_irq)
|
||||
{
|
||||
DeviceState *dev;
|
||||
|
||||
qemu_check_nic_model(&nd_table[0], "minimac");
|
||||
dev = qdev_create(NULL, "milkymist-minimac");
|
||||
qdev_set_nic_properties(dev, &nd_table[0]);
|
||||
qdev_init_nofail(dev);
|
||||
sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, base);
|
||||
sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, rx_irq);
|
||||
sysbus_connect_irq(SYS_BUS_DEVICE(dev), 1, tx_irq);
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
||||
static inline DeviceState *milkymist_minimac2_create(hwaddr base,
|
||||
hwaddr buffers_base, qemu_irq rx_irq, qemu_irq tx_irq)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user