aboutsummaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-21 09:03:17 +0200
committerFabiano Rosas <farosas@suse.de>2024-06-21 14:37:58 -0300
commit04b09de16d78cf2d163ca65d7c6d161bf2baceb6 (patch)
treeb6e6752ff6c864edd312b9f6c15b05886861a1d0 /include/migration
parent6cf56a87baf8b99c4296a943d220eb8276ca035a (diff)
downloadqemu-04b09de16d78cf2d163ca65d7c6d161bf2baceb6.zip
qemu-04b09de16d78cf2d163ca65d7c6d161bf2baceb6.tar.gz
qemu-04b09de16d78cf2d163ca65d7c6d161bf2baceb6.tar.bz2
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é <philmd@linaro.org> Reviewed-by: Li Zhijian <lizhijian@fujitsu.com> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'include/migration')
-rw-r--r--include/migration/vmstate.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 294d2d8..f313f2f 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -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), \