]> Git Repo - qemu.git/commitdiff
vmstate: remove usused VMSTATE_STRUCT_ARRAY_SIZE_UINT8
authorJuan Quintela <[email protected]>
Wed, 2 Dec 2009 11:36:42 +0000 (12:36 +0100)
committerAnthony Liguori <[email protected]>
Thu, 3 Dec 2009 16:04:54 +0000 (10:04 -0600)
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/hw.h

diff --git a/hw/hw.h b/hw/hw.h
index 5994d86099b485fcd8d7926188d98c862bd6f5cf..41e13cc1d2ab2a2d6daa63bf04e4bffc9255749f 100644 (file)
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -475,16 +475,6 @@ extern const VMStateInfo vmstate_info_unused_buffer;
     .offset     = vmstate_offset_array(_state, _field, _type, _num), \
 }
 
-#define VMSTATE_STRUCT_ARRAY_SIZE_UINT8(_field, _state, _field__num, _version, _vmsd, _type) { \
-    .name       = (stringify(_field)),                               \
-    .num_offset = vmstate_offset_value(_state, _field_num, uint8_t), \
-    .version_id = (_version),                                        \
-    .vmsd       = &(_vmsd),                                          \
-    .size       = sizeof(_type),                                     \
-    .flags      = VMS_STRUCT|VMS_ARRAY,                              \
-    .offset     = vmstate_offset_array(_state, _field, _type, _num), \
-}
-
 #define VMSTATE_STATIC_BUFFER(_field, _state, _version, _test, _start, _size) { \
     .name         = (stringify(_field)),                             \
     .version_id   = (_version),                                      \
This page took 0.027494 seconds and 4 git commands to generate.