The function was used only in a single place. Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> --- hw/i386/pc_q35.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 2aa1c43..c3456ab 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -452,11 +452,6 @@ static TypeInfo pc_q35_machine_v1_5_type_info = { .class_init = pc_q35_machine_v1_5_class_init, }; -static void pc_q35_1_4_machine_options(MachineClass *mc) -{ - mc->hot_add_cpu = NULL; -} - static void pc_q35_machine_v1_4_class_init(ObjectClass *oc, void *data) { MachineClass *mc = MACHINE_CLASS(oc); @@ -464,7 +459,7 @@ static void pc_q35_machine_v1_4_class_init(ObjectClass *oc, void *data) PC_COMPAT_1_4, { /* end of list */ } }; - pc_q35_1_4_machine_options(mc); + mc->hot_add_cpu = NULL; mc->init = pc_q35_init_1_4; machine_class_add_compat_props(mc, compat_props); mc->name = "pc-q35-1.4"; -- 1.9.3