summaryrefslogtreecommitdiffstats
path: root/hw/ps2.c
diff options
context:
space:
mode:
authorBlue Swirl2009-11-07 11:05:03 +0100
committerBlue Swirl2009-11-07 11:05:03 +0100
commit44a9935465b1cd79547807a431232177362ef43e (patch)
tree7ffc76576dd2745a8fc7ef3dc8406757cf2b417e /hw/ps2.c
parentPPC: remove unneeded calls to device reset (diff)
downloadqemu-44a9935465b1cd79547807a431232177362ef43e.tar.gz
qemu-44a9935465b1cd79547807a431232177362ef43e.tar.xz
qemu-44a9935465b1cd79547807a431232177362ef43e.zip
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);