mirror of https://github.com/xemu-project/xemu.git
hw/arm/musicpal: Remove unused dummy MemoryRegion
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
d4fb55a608
commit
799d6a3c99
|
@ -1072,7 +1072,6 @@ struct musicpal_key_state {
|
||||||
SysBusDevice parent_obj;
|
SysBusDevice parent_obj;
|
||||||
/*< public >*/
|
/*< public >*/
|
||||||
|
|
||||||
MemoryRegion iomem;
|
|
||||||
uint32_t kbd_extended;
|
uint32_t kbd_extended;
|
||||||
uint32_t pressed_keys;
|
uint32_t pressed_keys;
|
||||||
qemu_irq out[8];
|
qemu_irq out[8];
|
||||||
|
@ -1161,9 +1160,6 @@ static void musicpal_key_init(Object *obj)
|
||||||
DeviceState *dev = DEVICE(sbd);
|
DeviceState *dev = DEVICE(sbd);
|
||||||
musicpal_key_state *s = MUSICPAL_KEY(dev);
|
musicpal_key_state *s = MUSICPAL_KEY(dev);
|
||||||
|
|
||||||
memory_region_init(&s->iomem, obj, "dummy", 0);
|
|
||||||
sysbus_init_mmio(sbd, &s->iomem);
|
|
||||||
|
|
||||||
s->kbd_extended = 0;
|
s->kbd_extended = 0;
|
||||||
s->pressed_keys = 0;
|
s->pressed_keys = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue