mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
sh4: replace cpu_sh4_init() with cpu_generic_init()
it's just a wrapper, drop it and use cpu_generic_init() directly Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1503592308-93913-18-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
a69773122b
commit
66b7977518
4 changed files with 3 additions and 9 deletions
|
@ -156,11 +156,6 @@ static ObjectClass *superh_cpu_class_by_name(const char *cpu_model)
|
|||
return oc;
|
||||
}
|
||||
|
||||
SuperHCPU *cpu_sh4_init(const char *cpu_model)
|
||||
{
|
||||
return SUPERH_CPU(cpu_generic_init(TYPE_SUPERH_CPU, cpu_model));
|
||||
}
|
||||
|
||||
static void sh7750r_cpu_initfn(Object *obj)
|
||||
{
|
||||
SuperHCPU *cpu = SUPERH_CPU(obj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue