diff options
Diffstat (limited to 'target/sparc')
-rw-r--r-- | target/sparc/cpu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index 0806d699e6..beab90f3e6 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -730,10 +730,6 @@ static ObjectClass *sparc_cpu_class_by_name(const char *cpu_model) ObjectClass *oc; char *typename; - if (cpu_model == NULL) { - return NULL; - } - typename = sparc_cpu_type_name(cpu_model); oc = object_class_by_name(typename); g_free(typename); |