aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-03-26 22:53:09 +0100
committerMichael S. Tsirkin <mst@redhat.com>2011-03-28 18:34:23 +0200
commit41e7313f878813efeac4a65680018efcaff322a9 (patch)
treed6800440ec0951418779428cbbe6dfecc327be2f
parent7b67b18adf921c77aa8443f3b4cddab87908ee1e (diff)
cirrus_vga: remove unneeded reset
cirrus_reset is already called by the reset framework, so there is no need to call it in cirrus_init_common. Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/cirrus_vga.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 2724f7b480..bdf4c8b32d 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -3024,7 +3024,6 @@ static void cirrus_init_common(CirrusVGAState * s, int device_id, int is_pci)
s->vga.cursor_draw_line = cirrus_cursor_draw_line;
qemu_register_reset(cirrus_reset, s);
- cirrus_reset(s);
}
/***************************************