aboutsummaryrefslogtreecommitdiff
path: root/hw/ps2.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-11-07 10:05:03 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-11-07 10:05:03 +0000
commit44a9935465b1cd79547807a431232177362ef43e (patch)
tree7ffc76576dd2745a8fc7ef3dc8406757cf2b417e /hw/ps2.c
parente43941318d22795df91682fec6720540ede6ad02 (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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ps2.c b/hw/ps2.c
index 0644e01c49..15a6650a6a 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);