OSDN Git Service

hw/i386: Remove unnecessary initialization in x86_cpu_new
authorBabu Moger <babu.moger@amd.com>
Wed, 11 Mar 2020 22:53:13 +0000 (17:53 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 17 Mar 2020 23:48:10 +0000 (19:48 -0400)
commit156778a08314dd224e675acee7975ec2354e68e5
tree3f55eed452e287de2df5aef849c2574f4efb6a54
parent8cb30e3aec07cb85fe424191e37cf983a2ac5416
hw/i386: Remove unnecessary initialization in x86_cpu_new

The function pc_cpu_pre_plug takes care of initialization of CPUX86State.
So, remove the initialization here.

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <158396719336.58170.11951852360759449871.stgit@naples-babu.amd.com>
hw/i386/x86.c