@@ -332,9 +332,8 @@ extern const VMStateInfo vmstate_info_bitmap;
.offset = vmstate_offset_value(_state, _field, _type), \
}
-#define VMSTATE_STRUCT_POINTER_TEST(_field, _state, _test, _vmsd, _type) { \
+#define VMSTATE_STRUCT_POINTER(_field, _state, _vmsd, _type) { \
.name = (stringify(_field)), \
- .field_exists = (_test), \
.vmsd = &(_vmsd), \
.size = sizeof(_type *), \
.flags = VMS_STRUCT|VMS_POINTER, \
@@ -494,9 +493,6 @@ extern const VMStateInfo vmstate_info_bitmap;
#define VMSTATE_STRUCT(_field, _state, _vmsd, _type) \
VMSTATE_STRUCT_TEST(_field, _state, NULL, _vmsd, _type)
-#define VMSTATE_STRUCT_POINTER(_field, _state, _vmsd, _type) \
- VMSTATE_STRUCT_POINTER_TEST(_field, _state, NULL, _vmsd, _type)
-
#define VMSTATE_STRUCT_ARRAY(_field, _state, _num, _vmsd, _type) \
VMSTATE_STRUCT_ARRAY_TEST(_field, _state, _num, NULL, _vmsd, _type)
Signed-off-by: Juan Quintela <quintela@redhat.com> --- include/migration/vmstate.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)