qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 048/124] vmstate: Remove unused VMSTATE_BUFFER_V


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 048/124] vmstate: Remove unused VMSTATE_BUFFER_V
Date: Mon, 21 Apr 2014 16:40:28 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 include/migration/vmstate.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 62552ab..c22f5db 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -654,11 +654,8 @@ extern const VMStateInfo vmstate_info_bitmap;
 #define VMSTATE_UINT32_SUB_ARRAY(_f, _s, _start, _num)                \
     VMSTATE_SUB_ARRAY(_f, _s, _start, _num, 0, vmstate_info_uint32, uint32_t)

-#define VMSTATE_BUFFER_V(_f, _s, _v)                                  \
-    VMSTATE_STATIC_BUFFER(_f, _s, _v, NULL, 0, sizeof(typeof_field(_s, _f)))
-
 #define VMSTATE_BUFFER(_f, _s)                                        \
-    VMSTATE_BUFFER_V(_f, _s, 0)
+    VMSTATE_STATIC_BUFFER(_f, _s, 0, NULL, 0, sizeof(typeof_field(_s, _f)))

 #define VMSTATE_PARTIAL_BUFFER(_f, _s, _size)                         \
     VMSTATE_STATIC_BUFFER(_f, _s, 0, NULL, 0, _size)
-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]