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;
|
||||
/*< public >*/
|
||||
|
||||
MemoryRegion iomem;
|
||||
uint32_t kbd_extended;
|
||||
uint32_t pressed_keys;
|
||||
qemu_irq out[8];
|
||||
@ -1161,9 +1160,6 @@ static void musicpal_key_init(Object *obj)
|
||||
DeviceState *dev = DEVICE(sbd);
|
||||
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->pressed_keys = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user