From: Stefan Weil Date: Sat, 26 Mar 2011 21:53:09 +0000 (+0100) Subject: cirrus_vga: remove unneeded reset X-Git-Tag: TizenStudio_2.0_p2.3~2615^2~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a739a22431c59576308ba8173656f7dff3013c7;p=sdk%2Femulator%2Fqemu.git 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 Signed-off-by: Stefan Weil Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 2724f7b..bdf4c8b 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); } /***************************************