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/ps2.c | |
parent | e43941318d22795df91682fec6720540ede6ad02 (diff) |
Sparc64/x86: remove unneeded calls to device reset
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ps2.c')
-rw-r--r-- | hw/ps2.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -593,7 +593,6 @@ void *ps2_kbd_init(void (*update_irq)(void *, int), void *update_arg) s->common.update_irq = update_irq; s->common.update_arg = update_arg; s->scancode_set = 2; - ps2_kbd_reset(s); vmstate_register(0, &vmstate_ps2_keyboard, s); qemu_add_kbd_event_handler(ps2_put_keycode, s); qemu_register_reset(ps2_kbd_reset, s); @@ -606,7 +605,6 @@ void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg) s->common.update_irq = update_irq; s->common.update_arg = update_arg; - ps2_mouse_reset(s); vmstate_register(0, &vmstate_ps2_mouse, s); qemu_add_mouse_event_handler(ps2_mouse_event, s, 0, "QEMU PS/2 Mouse"); qemu_register_reset(ps2_mouse_reset, s); |