summaryrefslogtreecommitdiffstats
path: root/hw/pci-host/grackle.c
diff options
context:
space:
mode:
authorBALATON Zoltan2022-10-28 13:56:22 +0200
committerMark Cave-Ayland2022-10-31 19:48:23 +0100
commit18e0383b5c21df348f9d3a1e4bd12747561535f2 (patch)
tree368709b372bf2d4e7409480fbda37b0ac91ee8d5 /hw/pci-host/grackle.c
parentmac_newworld: Clean up creation of Uninorth devices (diff)
downloadqemu-18e0383b5c21df348f9d3a1e4bd12747561535f2.tar.gz
qemu-18e0383b5c21df348f9d3a1e4bd12747561535f2.tar.xz
qemu-18e0383b5c21df348f9d3a1e4bd12747561535f2.zip
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/pci-host/grackle.c')
0 files changed, 0 insertions, 0 deletions