From patchwork Thu Nov 1 16:29:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: pc: Drop redundant test for ROM memory region Date: Thu, 01 Nov 2012 06:29:24 -0000 From: Jan Kiszka X-Patchwork-Id: 196273 Message-Id: <5092A364.4040807@web.de> To: qemu-devel , qemu-trivial From: Jan Kiszka Just a few lines above, we already initialize rom_memory accordingly. Signed-off-by: Jan Kiszka --- hw/pc_piix.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 85529b2..cfa839c 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -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));