[PATCH 1/4] migration: Remove VMSTATE_ARRAY_INT32_UNSAFE
Fabiano Rosas <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
The ARRAY_INT32_UNSAFE vmstate macro is not used anywhere. Remove it. Signed-off-by: Fabiano Rosas <[email protected]> --- include/migration/vmstate.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 1b7f295417e..92a1a9fe98e 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -451,15 +451,6 @@ extern const VMStateInfo vmstate_info_g_byte_array; .offset = vmstate_offset_sub_array(_state, _field, _type, _start), \ } -#define VMSTATE_ARRAY_INT32_UNSAFE(_field, _state, _field_num, _info, _type) {\ - .name = (stringify(_field)), \ - .num_offset = vmstate_offset_value(_state, _field_num, int32_t), \ - .info = &(_info), \ - .size = sizeof(_type), \ - .flags = VMS_VARRAY_INT32, \ - .offset = vmstate_offset_varray(_state, _field, _type), \ -} - #define VMSTATE_VARRAY_INT32(_field, _state, _field_num, _version, _info, _type) {\ .name = (stringify(_field)), \ .version_id = (_version), \ -- 2.53.0