pc: Remove redundant code from pc-*-2.3 machine classes
commit1e37b7149aa560959b7190924c87dad5d49d47a7
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 30 Nov 2015 14:56:35 +0000 (30 12:56 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 16:39:19 +0000 (22 18:39 +0200)
tree9e645b9dc4ed1f675f636eb16d589e0fe62f02d6
parentaa8abbed0028fc4a5a2a346eedaa7ab4f52c750a
pc: Remove redundant code from pc-*-2.3 machine classes

Remove the redundant 'alias = NULL' and 'is_default = 0' lines
from older machine-types. pc_*_2_4_machine_options() already
clear those fields, so they don't need to be cleared by
pc_*_2_3_machine_options().

Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c