diff options
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/translate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 6c9dff591a..80ea851116 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -277,8 +277,6 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model) if (!def) return NULL; env = qemu_mallocz(sizeof(CPUSH4State)); - if (!env) - return NULL; env->features = def->features; cpu_exec_init(env); sh4_translate_init(); |