From: Marc-André Lureau <[email protected]>

Fixes: 028d4ec43de6 ("migration: Remove duplicate vmstate macros")
Signed-off-by: Marc-André Lureau <[email protected]>
---
 include/migration/vmstate.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index e72c3fae9a69..21a31ed7053c 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -723,16 +723,6 @@ extern const VMStateInfo vmstate_info_g_byte_array;
 #define VMSTATE_STRUCT_VARRAY_POINTER_UINT32 VMSTATE_STRUCT_VARRAY_POINTER
 #define VMSTATE_STRUCT_VARRAY_POINTER_UINT16 VMSTATE_STRUCT_VARRAY_POINTER
 
-#define VMSTATE_STRUCT_VARRAY(_field, _state, _field_num, _version, _vmsd, \
-                              _type) {                                  \
-    .name       = (stringify(_field)),                               \
-    .num_indirect = vmstate_field_offset(_state, _field_num),        \
-    .version_id = (_version),                                        \
-    .vmsd       = &(_vmsd),                                          \
-    .size       = sizeof(_type),                                     \
-    .flags      = VMS_STRUCT | VMS_VARRAY,                           \
-    .offset     = vmstate_offset_varray(_state, _field, _type),      \
-}
 #define VMSTATE_STRUCT_VARRAY_INT32 VMSTATE_STRUCT_VARRAY
 #define VMSTATE_STRUCT_VARRAY_UINT32 VMSTATE_STRUCT_VARRAY
 
-- 
2.55.0.543.g5ebe2ebe4ea8


Reply via email to