diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-05-30 18:55:12 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-06-01 18:44:27 +0100 |
commit | e0d138aa9b3a4c72fe8bca735686132fdea646b7 (patch) | |
tree | 95c5cce868c3a18ccba84b83cf8bc6ce10f4c329 /include/migration/vmstate.h | |
parent | 93bb3d8d4cdadf90f714b8ab71b4caa16092f38c (diff) | |
download | qemu-e0d138aa9b3a4c72fe8bca735686132fdea646b7.zip qemu-e0d138aa9b3a4c72fe8bca735686132fdea646b7.tar.gz qemu-e0d138aa9b3a4c72fe8bca735686132fdea646b7.tar.bz2 |
migration/vmstate: Remove unnecessary MemoryRegion forward declaration
"migration/vmstate.h" only uses pointer to MemoryRegion, which
is already forward declared in "qemu/typedefs.h".
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200530165512.15225-1-f4bug@amsat.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/migration/vmstate.h')
-rw-r--r-- | include/migration/vmstate.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 3066763..eafa39f 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -1199,7 +1199,6 @@ static inline int vmstate_register(VMStateIf *obj, int instance_id, void vmstate_unregister(VMStateIf *obj, const VMStateDescription *vmsd, void *opaque); -struct MemoryRegion; void vmstate_register_ram(struct MemoryRegion *memory, DeviceState *dev); void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev); void vmstate_register_ram_global(struct MemoryRegion *memory); |