diff options
Diffstat (limited to 'target-s390x/helper.c')
-rw-r--r-- | target-s390x/helper.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target-s390x/helper.c b/target-s390x/helper.c index 9a744df6c8..54a5177345 100644 --- a/target-s390x/helper.c +++ b/target-s390x/helper.c @@ -70,11 +70,7 @@ void s390x_cpu_timer(void *opaque) S390CPU *cpu_s390x_create(const char *cpu_model, Error **errp) { - S390CPU *cpu; - - cpu = S390_CPU(object_new(TYPE_S390_CPU)); - - return cpu; + return S390_CPU(object_new(TYPE_S390_CPU)); } S390CPU *s390x_new_cpu(const char *cpu_model, int64_t id, Error **errp) |