On 17/9/22 01:07, BALATON Zoltan wrote:
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 <[email protected]> --- hw/ppc/mac_newworld.c | 60 ++++++++++++++++++++----------------------- hw/ppc/mac_oldworld.c | 26 ++++++++----------- 2 files changed, 39 insertions(+), 47 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
