hw/intc/sh_intc: Inline and drop sh_intc_source() function
commit9b12fb10b731d8d9cbb6cc0bf200d1c48de7f20d
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 29 Oct 2021 21:02:09 +0000 (29 23:02 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 30 Oct 2021 16:39:37 +0000 (30 18:39 +0200)
tree1439505ce83d0269b9b6f80f17b7a032a8ccb7a5
parent12201fe38a592695eea647c9600d08a4622c1431
hw/intc/sh_intc: Inline and drop sh_intc_source() function

This function is very simple and provides no advantage. Call sites
become simpler without it so just write it in line and drop the
separate function.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <a98d1f7f94e91a42796b7d91e9153a7eaa3d1c44.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/intc/sh_intc.c
hw/sh4/sh7750.c
include/hw/sh4/sh_intc.h