]> Git Repo - qemu.git/commitdiff
cirrus_vga: remove unneeded reset
authorStefan Weil <[email protected]>
Sat, 26 Mar 2011 21:53:09 +0000 (22:53 +0100)
committerMichael S. Tsirkin <[email protected]>
Mon, 28 Mar 2011 16:34:23 +0000 (18:34 +0200)
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 <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/cirrus_vga.c

index 2724f7b480af74844b14e483dfe2763ba4347bcb..bdf4c8b32d52f334f5ce4fe027f7790a81df9350 100644 (file)
@@ -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);
 }
 
 /***************************************
This page took 0.02973 seconds and 4 git commands to generate.