diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 10:05:03 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 10:05:03 +0000 |
commit | 44a9935465b1cd79547807a431232177362ef43e (patch) | |
tree | 7ffc76576dd2745a8fc7ef3dc8406757cf2b417e /hw/pckbd.c | |
parent | e43941318d22795df91682fec6720540ede6ad02 (diff) |
Sparc64/x86: remove unneeded calls to device reset
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pckbd.c')
-rw-r--r-- | hw/pckbd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c index c049047aea..a81b303dae 100644 --- a/hw/pckbd.c +++ b/hw/pckbd.c @@ -397,7 +397,6 @@ void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq, s->irq_mouse = mouse_irq; s->mask = mask; - kbd_reset(s); vmstate_register(0, &vmstate_kbd, s); s_io_memory = cpu_register_io_memory(kbd_mm_read, kbd_mm_write, s); cpu_register_physical_memory(base, size, s_io_memory); @@ -422,7 +421,6 @@ static int i8042_initfn(ISADevice *dev) isa_init_irq(dev, &s->irq_kbd, 1); isa_init_irq(dev, &s->irq_mouse, 12); - kbd_reset(s); vmstate_register(0, &vmstate_kbd, s); register_ioport_read(0x60, 1, 1, kbd_read_data, s); register_ioport_write(0x60, 1, 1, kbd_write_data, s); |