From: Philippe Mathieu-Daudé Date: Sat, 30 May 2020 16:55:12 +0000 (+0200) Subject: migration/vmstate: Remove unnecessary MemoryRegion forward declaration X-Git-Tag: qemu-xen-4.15.0~163^2~6 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e0d138aa9b3a4c72fe8bca735686132fdea646b7;p=qemu-xen.git 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é Message-Id: <20200530165512.15225-1-f4bug@amsat.org> Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Dr. David Alan Gilbert --- diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 30667631bc..eafa39f560 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);