提交 c3264663 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

vga: remove unused vga_common_save/load

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 a4f9631c
......@@ -2182,16 +2182,6 @@ const VMStateDescription vmstate_vga_common = {
}
};
void vga_common_save(QEMUFile *f, void *opaque)
{
vmstate_save_state(f, &vmstate_vga_common, opaque);
}
int vga_common_load(QEMUFile *f, void *opaque, int version_id)
{
return vmstate_load_state(f, &vmstate_vga_common, opaque, vmstate_vga_common.version_id);
}
void vga_common_init(VGACommonState *s, int vga_ram_size)
{
int i, j, v, b;
......
......@@ -197,8 +197,6 @@ void vga_common_reset(VGACommonState *s);
void vga_dirty_log_start(VGACommonState *s);
extern const VMStateDescription vmstate_vga_common;
void vga_common_save(QEMUFile *f, void *opaque);
int vga_common_load(QEMUFile *f, void *opaque, int version_id);
uint32_t vga_ioport_read(void *opaque, uint32_t addr);
void vga_ioport_write(void *opaque, uint32_t addr, uint32_t val);
uint32_t vga_mem_readb(void *opaque, target_phys_addr_t addr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册