pc: Drop redundant test for ROM memory region
PATCH 1/1 pc: Drop redundant test for ROM memory region
From: Jan Kiszka <[email protected]>
Just a few lines above, we already initialize rom_memory accordingly.
Signed-off-by Jan Kiszka <[email protected]>
--- hw/pc_piix.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
hw/pc_piix.c +1 -1
@@ -178,7 +178,7 @@ static void pc_init1(MemoryRegion *system_memory, fw_cfg =pc_memory_init (system_memory, kernel_filename, kernel_cmdline, initrd_filename, below_4g_mem_size, above_4g_mem_size, - pci_enabled ? rom_memory : system_memory, &ram_memory); + rom_memory, &ram_memory); } gsi_state =g_malloc0 (sizeof (*gsi_state));
Signature · 1 line
1.7.3.4
Stefan Hajnoczi
AppliedQuoted 8 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Just a few lines above, we already initialize
rom_memoryaccordingly.Signed-off-by Jan Kiszka <[email protected]>--- hw/pc_piix.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan