From 3f71e724e283233753f1b5b3d6a30948d3084636 Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Wed, 7 Feb 2018 11:40:27 +0100 Subject: cpu: get rid of unused cpu_init() defines cpu_init(cpu_model) were replaced by cpu_create(cpu_type) so no users are left, remove it. Signed-off-by: Igor Mammedov Acked-by: David Gibson (ppc) Reviewed-by: Eduardo Habkost Message-Id: <1518000027-274608-6-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost --- target/openrisc/cpu.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'target/openrisc') diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h index 87018c7..35cab65 100644 --- a/target/openrisc/cpu.h +++ b/target/openrisc/cpu.h @@ -389,8 +389,6 @@ int cpu_openrisc_get_phys_data(OpenRISCCPU *cpu, int *prot, target_ulong address, int rw); #endif -#define cpu_init(cpu_model) cpu_generic_init(TYPE_OPENRISC_CPU, cpu_model) - #define OPENRISC_CPU_TYPE_SUFFIX "-" TYPE_OPENRISC_CPU #define OPENRISC_CPU_TYPE_NAME(model) model OPENRISC_CPU_TYPE_SUFFIX #define CPU_RESOLVING_TYPE TYPE_OPENRISC_CPU -- cgit v1.1