summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-14 15:43:42 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:55 -0500
commitc32646631aab72c4b6807b77d12f0cfe4eee2953 (patch)
treef78e54c1172cdf34c1ae0f30170c43bd8f234e53
parenta4f9631ceed50ada61cb70248ce34917e3b34c56 (diff)
vga: remove unused vga_common_save/load
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/vga.c10
-rw-r--r--hw/vga_int.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 18f1ee961..95a7650f3 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -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;
diff --git a/hw/vga_int.h b/hw/vga_int.h
index 46c326d3e..e2b99893b 100644
--- a/hw/vga_int.h
+++ b/hw/vga_int.h
@@ -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);