diff mbox

[051/124] vmstate: All ptimers users were at least at version 1 or more

Message ID 1398091304-10677-52-git-send-email-quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela April 21, 2014, 2:40 p.m. UTC
So we can remove the version field.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 include/hw/ptimer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/hw/ptimer.h b/include/hw/ptimer.h
index 8ebacbb..ef852bf 100644
--- a/include/hw/ptimer.h
+++ b/include/hw/ptimer.h
@@ -28,7 +28,7 @@  void ptimer_stop(ptimer_state *s);
 extern const VMStateDescription vmstate_ptimer;

 #define VMSTATE_PTIMER(_field, _state) \
-    VMSTATE_STRUCT_POINTER_V(_field, _state, 1, vmstate_ptimer, ptimer_state)
+    VMSTATE_STRUCT_POINTER(_field, _state, vmstate_ptimer, ptimer_state)

 #define VMSTATE_PTIMER_ARRAY(_f, _s, _n)                                \
     VMSTATE_ARRAY_OF_POINTER_TO_STRUCT(_f, _s, _n, 0,                   \