Signed-off-by: Juan Quintela <quint...@redhat.com> --- include/migration/vmstate.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 5a26b6a..6d064de 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -296,9 +296,8 @@ extern const VMStateInfo vmstate_info_bitmap; .offset = vmstate_offset_pointer(_state, _field, _type), \ } -#define VMSTATE_ARRAY_OF_POINTER(_field, _state, _num, _version, _info, _type) {\ +#define VMSTATE_ARRAY_OF_POINTER(_field, _state, _num, _info, _type) {\ .name = (stringify(_field)), \ - .version_id = (_version), \ .num = (_num), \ .info = &(_info), \ .size = sizeof(_type), \ @@ -553,7 +552,7 @@ extern const VMStateInfo vmstate_info_bitmap; VMSTATE_TIMER_TEST(_f, _s, NULL) #define VMSTATE_TIMER_ARRAY(_f, _s, _n) \ - VMSTATE_ARRAY_OF_POINTER(_f, _s, _n, 0, vmstate_info_timer, QEMUTimer *) + VMSTATE_ARRAY_OF_POINTER(_f, _s, _n, vmstate_info_timer, QEMUTimer*) #define VMSTATE_BOOL_ARRAY_TEST(_f, _s, _n, _t) \ VMSTATE_ARRAY(_f, _s, _n, _t, vmstate_info_bool, bool) -- 1.9.0