From 44a9935465b1cd79547807a431232177362ef43e Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 7 Nov 2009 10:05:03 +0000 Subject: Sparc64/x86: remove unneeded calls to device reset Signed-off-by: Blue Swirl --- hw/ps2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/ps2.c') diff --git a/hw/ps2.c b/hw/ps2.c index 0644e01..15a6650 100644 --- a/hw/ps2.c +++ b/hw/ps2.c @@ -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); -- cgit v1.1