diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-03-04 18:11:47 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-08 10:18:39 +0100 |
commit | 58427a0f42679c875b077b7adc5db36897973865 (patch) | |
tree | f5a559a12ad029190698349dbc7a6e6e6f6be248 /hw | |
parent | eeb29fb9aa733f97d85857c210d6580a92a1b532 (diff) | |
download | qemu-58427a0f42679c875b077b7adc5db36897973865.zip qemu-58427a0f42679c875b077b7adc5db36897973865.tar.gz qemu-58427a0f42679c875b077b7adc5db36897973865.tar.bz2 |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/milkymist-hw.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/hw/milkymist-hw.h b/hw/milkymist-hw.h index c8bd7e9..5def311 100644 --- a/hw/milkymist-hw.h +++ b/hw/milkymist-hw.h @@ -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) { |