diff options
Diffstat (limited to 'target/unicore32')
-rw-r--r-- | target/unicore32/cpu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target/unicore32/cpu.c b/target/unicore32/cpu.c index c9b78ce..138acc9 100644 --- a/target/unicore32/cpu.c +++ b/target/unicore32/cpu.c @@ -44,10 +44,6 @@ static ObjectClass *uc32_cpu_class_by_name(const char *cpu_model) ObjectClass *oc; char *typename; - if (cpu_model == NULL) { - return NULL; - } - typename = g_strdup_printf("%s-" TYPE_UNICORE32_CPU, cpu_model); oc = object_class_by_name(typename); g_free(typename); |