]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/mips/mips_jazz.c
cpu: make cpu_generic_init() abort QEMU on error
[mirror_qemu.git] / hw / mips / mips_jazz.c
index df2262a2a86403f5aea31f1a667aefb8ebce118d..ae10670efd3a66b28bb419d5e3734701b50f75b2 100644 (file)
@@ -152,10 +152,6 @@ static void mips_jazz_init(MachineState *machine,
         cpu_model = "R4000";
     }
     cpu = cpu_mips_init(cpu_model);
-    if (cpu == NULL) {
-        fprintf(stderr, "Unable to find CPU definition\n");
-        exit(1);
-    }
     env = &cpu->env;
     qemu_register_reset(main_cpu_reset, cpu);