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>
This commit is contained in:
parent
7b67b18adf
commit
41e7313f87
@ -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;
|
s->vga.cursor_draw_line = cirrus_cursor_draw_line;
|
||||||
|
|
||||||
qemu_register_reset(cirrus_reset, s);
|
qemu_register_reset(cirrus_reset, s);
|
||||||
cirrus_reset(s);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***************************************
|
/***************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user