aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32/milkymist.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32/milkymist.c')
-rw-r--r--hw/lm32/milkymist.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c
index dffd8797bb..4db4d2d533 100644
--- a/hw/lm32/milkymist.c
+++ b/hw/lm32/milkymist.c
@@ -112,10 +112,6 @@ milkymist_init(MachineState *machine)
cpu_model = "lm32-full";
}
cpu = LM32_CPU(cpu_generic_init(TYPE_LM32_CPU, cpu_model));
- if (cpu == NULL) {
- fprintf(stderr, "qemu: unable to find CPU '%s'\n", cpu_model);
- exit(1);
- }
env = &cpu->env;
reset_info->cpu = cpu;