diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2022-10-28 13:56:22 +0200 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-10-31 18:48:23 +0000 |
commit | 18e0383b5c21df348f9d3a1e4bd12747561535f2 (patch) | |
tree | 368709b372bf2d4e7409480fbda37b0ac91ee8d5 /hw/ppc/spapr_vof.c | |
parent | 50c496d2728b26fa93a99dbdb4c93e619c6afe9d (diff) | |
download | qemu-18e0383b5c21df348f9d3a1e4bd12747561535f2.zip qemu-18e0383b5c21df348f9d3a1e4bd12747561535f2.tar.gz qemu-18e0383b5c21df348f9d3a1e4bd12747561535f2.tar.bz2 |
mac_{old|new}world: Reduce number of QOM casts
By storing the device pointers in a variable with the right type the
number of QOM casts can be reduced which also makes the code more
readable.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <f701e5ae03c806969561a7fd7523ef407db6dc89.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/ppc/spapr_vof.c')
0 files changed, 0 insertions, 0 deletions