Signed-off-by: Juan Quintela <quint...@redhat.com> --- hw/timer/twl92230.c | 2 +- include/migration/vmstate.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/hw/timer/twl92230.c b/hw/timer/twl92230.c index 7ded4ba..3aacaeb 100644 --- a/hw/timer/twl92230.c +++ b/hw/timer/twl92230.c @@ -765,7 +765,7 @@ static const VMStateInfo vmstate_hack_int32_as_uint16 = { }; #define VMSTATE_UINT16_HACK(_f, _s) \ - VMSTATE_SINGLE(_f, _s, 0, vmstate_hack_int32_as_uint16, int32_t) + VMSTATE_SINGLE_TEST(_f, _s, NULL, 0, vmstate_hack_int32_as_uint16, int32_t) static const VMStateDescription vmstate_menelaus_tm = { diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 60b67dc..e223758 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -489,9 +489,6 @@ extern const VMStateInfo vmstate_info_bitmap; _v : version */ -#define VMSTATE_SINGLE(_field, _state, _version, _info, _type) \ - VMSTATE_SINGLE_TEST(_field, _state, NULL, _version, _info, _type) - #define VMSTATE_STRUCT(_field, _state, _version, _vmsd, _type) \ VMSTATE_STRUCT_TEST(_field, _state, NULL, _version, _vmsd, _type) -- 1.9.0