]> Git Repo - qemu.git/commitdiff
vmstate: Drop unused post_save handler
authorJan Kiszka <[email protected]>
Sat, 15 May 2010 11:32:39 +0000 (13:32 +0200)
committerBlue Swirl <[email protected]>
Sat, 15 May 2010 14:02:39 +0000 (14:02 +0000)
No device makes use of it anymore.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
hw/hw.h
savevm.c

diff --git a/hw/hw.h b/hw/hw.h
index 328b704fd8ba301c87dce0a54408b465e5c829f5..2d397243d193eabef27062dd07e4e068599791bb 100644 (file)
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -321,7 +321,6 @@ struct VMStateDescription {
     int (*pre_load)(void *opaque);
     int (*post_load)(void *opaque, int version_id);
     void (*pre_save)(void *opaque);
-    void (*post_save)(void *opaque);
     VMStateField *fields;
 };
 
index 31a419c1c4f3e635ca9b60c26ffec39c1260e185..74e553c53debe0ffb97f87fe2704528773b33d27 100644 (file)
--- a/savevm.c
+++ b/savevm.c
@@ -1231,9 +1231,6 @@ void vmstate_save_state(QEMUFile *f, const VMStateDescription *vmsd,
         }
         field++;
     }
-    if (vmsd->post_save) {
-        vmsd->post_save(opaque);
-    }
 }
 
 static int vmstate_load(QEMUFile *f, SaveStateEntry *se, int version_id)
This page took 0.023474 seconds and 4 git commands to generate.