diff options
author | Igor Mammedov <imammedo@redhat.com> | 2017-08-30 15:24:32 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-09-08 09:30:55 +1000 |
commit | 03c9141d75eac39b7897c4a670eb71103da9986f (patch) | |
tree | 9b295fa07917bdb2785ff9a7fe3c29b706182b5b /tests/nvme-test.c | |
parent | 6ea707e9d1fb1a5680c091895fc042aac9a4bd74 (diff) | |
download | qemu-03c9141d75eac39b7897c4a670eb71103da9986f.zip |
ppc: replace inter-function cyclic dependency/recurssion with 2 simple lookups
previous patches cleaned up cpu model/alias naming which
allows to simplify cpu model/alias to cpu type lookup a bit
byt removing recurssion and dependency of ppc_cpu_class_by_name() /
ppc_cpu_class_by_alias() on each other.
Besides of simplifying code it reduces it by ~15LOC.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/nvme-test.c')
0 files changed, 0 insertions, 0 deletions