migration: Remove unused VMSTATE_ARRAY_TEST() macro
PATCH 1/1 migration: Remove unused VMSTATE_ARRAY_TEST() macro
Last use of VMSTATE_ARRAY_TEST() was removed in commit 46baa9007f ("migration/i386: Remove old non-softfloat 64bit FP support"), we can safely get rid of it.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- include/migration/vmstate.h | 10 ---------- 1 file changed, 10 deletions(-)
include/migration/vmstate.h +0 -10
@@ -388,16 +388,6 @@ extern const VMStateInfo vmstate_info_qlist; .offset = vmstate_offset_varray(_state, _field, _type), \ } -#define VMSTATE_ARRAY_TEST (_field, _state, _num, _test, _info, _type) {\ - .name = (stringify(_field)), \ - .field_exists = (_test), \ - .num = (_num), \ - .info = &(_info), \ - .size = sizeof(_type), \ - .flags = VMS_ARRAY, \ - .offset = vmstate_offset_array(_state, _field, _type, _num),\ -} -#define VMSTATE_SUB_ARRAY (_field, _state, _start, _num, _version, _info, _type) { \ .name = (stringify(_field)), \ .version_id = (_version), \
Signature · 1 line
2.41.0
Quoted 5 lines · Philippe Mathieu-Daudé
Last use of
VMSTATE_ARRAY_TEST()was removed in commit46baa9007f("migration/i386: Remove old non-softfloat 64bit FP support"), we can safely get rid of it.Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Reviewed-by Li Zhijian <[email protected]>
Quoted 25 lines
--- include/migration/vmstate.h | 10 ---------- 1 file changed, 10 deletions(-)include/migration/vmstate.h +0
-10@@ -388,16 +388,6 @@ extern const VMStateInfo vmstate_info_qlist; .offset = vmstate_offset_varray(_state, _field, _type), \ } -#define VMSTATE_ARRAY_TEST (_field, _state, _num, _test, _info, _type) {\ - .name = (stringify(_field)), \ - .field_exists = (_test), \ - .num = (_num), \ - .info = &(_info), \ - .size = sizeof(_type), \ - .flags = VMS_ARRAY, \ - .offset = vmstate_offset_array(_state, _field, _type, _num),\ -} -#define VMSTATE_SUB_ARRAY (_field, _state, _start, _num, _version, _info, _type) { \ .name = (stringify(_field)), \ .version_id = (_version), \
Peter Xu
Reviewed-byQuoted 10 lines · Zhijian Li (Fujitsu) via
Quoted 5 lines · Philippe Mathieu-Daudé
Last use of
VMSTATE_ARRAY_TEST()was removed in commit46baa9007f("migration/i386: Remove old non-softfloat 64bit FP support"), we can safely get rid of it.Signed-off-by Philippe Mathieu-Daudé <[email protected]>Reviewed-by Li Zhijian <[email protected]>
Reviewed-by Peter Xu <[email protected]>
Signature · 1 line
Peter Xu
Fabiano Rosas
AppliedQuoted 5 lines · Philippe Mathieu-Daudé
Last use of
VMSTATE_ARRAY_TEST()was removed in commit46baa9007f("migration/i386: Remove old non-softfloat 64bit FP support"), we can safely get rid of it.
Queued, thanks!