OSDN Git Service

hw/i386/pc: Clean up pc_machine_initfn
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Fri, 9 Jun 2023 16:41:07 +0000 (11:41 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 26 Jun 2023 13:50:00 +0000 (09:50 -0400)
commitabe10037b129615f3da80f6d7c4acc3a0ec48afa
treecb298355fd5599632e3c6278f281900506396f52
parentd45243bcfc61a3c34f96a4fc34bffcb9929daba0
hw/i386/pc: Clean up pc_machine_initfn

To use the newly introduced PC machine class local variable.

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Message-Id: <20230609164107.23404-1-suravee.suthikulpanit@amd.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c