]> git.proxmox.com Git - qemu.git/blobdiff - target-alpha/translate.c
targets: remove error handling from qemu_malloc() callers (Avi Kivity)
[qemu.git] / target-alpha / translate.c
index 3affb219836160125c50b83e9013927803abe0b1..e27376d75eb8f1141868f3530e0d7a21538820b5 100644 (file)
@@ -2466,8 +2466,6 @@ CPUAlphaState * cpu_alpha_init (const char *cpu_model)
     uint64_t hwpcb;
 
     env = qemu_mallocz(sizeof(CPUAlphaState));
-    if (!env)
-        return NULL;
     cpu_exec_init(env);
     alpha_translate_init();
     tlb_flush(env, 1);