aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2021-10-29 23:02:09 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-10-30 18:39:37 +0200
commit9b12fb10b731d8d9cbb6cc0bf200d1c48de7f20d (patch)
tree1439505ce83d0269b9b6f80f17b7a032a8ccb7a5 /include
parent12201fe38a592695eea647c9600d08a4622c1431 (diff)
downloadqemu-9b12fb10b731d8d9cbb6cc0bf200d1c48de7f20d.zip
qemu-9b12fb10b731d8d9cbb6cc0bf200d1c48de7f20d.tar.gz
qemu-9b12fb10b731d8d9cbb6cc0bf200d1c48de7f20d.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/hw/sh4/sh_intc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/sh4/sh_intc.h b/include/hw/sh4/sh_intc.h
index 65f3425..f62d5c5 100644
--- a/include/hw/sh4/sh_intc.h
+++ b/include/hw/sh4/sh_intc.h
@@ -58,7 +58,7 @@ struct intc_desc {
};
int sh_intc_get_pending_vector(struct intc_desc *desc, int imask);
-struct intc_source *sh_intc_source(struct intc_desc *desc, intc_enum id);
+
void sh_intc_toggle_source(struct intc_source *source,
int enable_adj, int assert_adj);