diff mbox

[058/124] vmstate: Rename VMSTATE_POINTER_TEST without _TEST

Message ID 1398091304-10677-59-git-send-email-quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela April 21, 2014, 2:40 p.m. UTC
The other didn't exist anymore.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 include/migration/vmstate.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff mbox

Patch

diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 38a7566..cde875e 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -202,13 +202,13 @@  extern const VMStateInfo vmstate_info_bitmap;
     .offset       = vmstate_offset_value(_state, _field, _type),     \
 }

-#define VMSTATE_POINTER_TEST(_field, _state, _test, _info, _type) {  \
-    .name       = (stringify(_field)),                               \
-    .info       = &(_info),                                          \
+#define VMSTATE_POINTER(_field, _state, _test, _info, _type) {  \
+    .name         = (stringify(_field)),                             \
+    .info         = &(_info),                                        \
     .field_exists = (_test),                                         \
-    .size       = sizeof(_type),                                     \
-    .flags      = VMS_SINGLE|VMS_POINTER,                            \
-    .offset     = vmstate_offset_value(_state, _field, _type),       \
+    .size         = sizeof(_type),                                   \
+    .flags        = VMS_SINGLE|VMS_POINTER,                          \
+    .offset       = vmstate_offset_value(_state, _field, _type),     \
 }

 #define VMSTATE_2DARRAY(_field, _state, _n1, _n2, _test, _info, _type) { \
@@ -555,7 +555,7 @@  extern const VMStateInfo vmstate_info_bitmap;
     VMSTATE_SINGLE(_f, _s, NULL, vmstate_info_float64, float64)

 #define VMSTATE_TIMER_TEST(_f, _s, _test)                             \
-    VMSTATE_POINTER_TEST(_f, _s, _test, vmstate_info_timer, QEMUTimer *)
+    VMSTATE_POINTER(_f, _s, _test, vmstate_info_timer, QEMUTimer*)

 #define VMSTATE_TIMER(_f, _s)                                         \
     VMSTATE_TIMER_TEST(_f, _s, NULL)