mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 05:35:39 +00:00
memory: Remove memory_region_init_rom_device_nomigrate()
This function is not used outside of memory_region_init_rom_device() which is its only caller. Inline it there and remove it. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <e6f973ff3c243fe1780bf01c3e67c9e019b08fa9.1770042013.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
committed by
Philippe Mathieu-Daudé
parent
59ac89211b
commit
5cf3908f70
@@ -97,14 +97,6 @@ expression NAME;
|
||||
expression SIZE;
|
||||
expression ERRP;
|
||||
@@
|
||||
-memory_region_init_rom_device_nomigrate(MR, NULL, OPS, OPAQUE, NAME, SIZE, ERRP);
|
||||
+memory_region_init_rom_device(MR, NULL, OPS, OPAQUE, NAME, SIZE, ERRP);
|
||||
...
|
||||
-vmstate_register_ram_global(MR);
|
||||
|
||||
|
||||
// Device is owner
|
||||
@@
|
||||
typedef DeviceState;
|
||||
identifier device_fn, dev, obj;
|
||||
expression E1, E2, E3, E4, E5;
|
||||
|
||||
Reference in New Issue
Block a user