Patchwork [13/41] msix: msix_load/save are not needed anymore

login
register
mail settings
Submitter Juan Quintela
Date Dec. 2, 2009, 12:04 p.m.
Message ID <c24f13179972169e6f7a4f57df0df4e5ea13d5fc.1259754427.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/40017/
State New
Headers show

Comments

Juan Quintela - Dec. 2, 2009, 12:04 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/msix.c |   11 -----------
 hw/msix.h |    2 --
 2 files changed, 0 insertions(+), 13 deletions(-)

Patch

diff --git a/hw/msix.c b/hw/msix.c
index f00256a..8bbae99 100644
--- a/hw/msix.c
+++ b/hw/msix.c
@@ -328,17 +328,6 @@  const VMStateDescription vmstate_msix = {
     }
 };

-void msix_save(PCIDevice *dev, QEMUFile *f)
-{
-    vmstate_save_state(f, &vmstate_msix, dev);
-}
-
-void msix_load(PCIDevice *dev, QEMUFile *f)
-{
-    vmstate_load_state(f, &vmstate_msix, dev, vmstate_msix.version_id);
-}
-
-
 /* Does device support MSI-X? */
 int msix_present(PCIDevice *dev)
 {
diff --git a/hw/msix.h b/hw/msix.h
index a921a98..ead6ce1 100644
--- a/hw/msix.h
+++ b/hw/msix.h
@@ -16,8 +16,6 @@  void msix_mmio_map(PCIDevice *pci_dev, int region_num,
 int msix_uninit(PCIDevice *d);

 extern const VMStateDescription vmstate_msix;
-void msix_save(PCIDevice *dev, QEMUFile *f);
-void msix_load(PCIDevice *dev, QEMUFile *f);

 int msix_enabled(PCIDevice *dev);
 int msix_present(PCIDevice *dev);