aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/pc.c b/hw/pc.c
index b797f218f7..b659344154 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -813,9 +813,7 @@ static void pc_init1(ram_addr_t ram_size,
ram_addr_t below_4g_mem_size, above_4g_mem_size = 0;
int bios_size, isa_bios_size;
PCIBus *pci_bus;
- ISADevice *isa_dev;
int piix3_devfn = -1;
- CPUState *env;
qemu_irq *cpu_irq;
qemu_irq *isa_irq;
qemu_irq *i8259;
@@ -845,7 +843,7 @@ static void pc_init1(ram_addr_t ram_size,
}
for (i = 0; i < smp_cpus; i++) {
- env = pc_new_cpu(cpu_model);
+ pc_new_cpu(cpu_model);
}
vmport_init();
@@ -1014,7 +1012,7 @@ static void pc_init1(ram_addr_t ram_size,
}
}
- isa_dev = isa_create_simple("i8042");
+ isa_create_simple("i8042");
DMA_init(0);
#ifdef HAS_AUDIO
audio_init(pci_enabled ? pci_bus : NULL, isa_irq);