summary refs log tree commit diff stats
path: root/include/hw/intc
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-12-13 15:34:48 +0800
committerBibo Mao <maobibo@loongson.cn>2024-12-19 15:23:30 +0800
commit6f6006ad07243543595c7607ffbeee7f45b94b80 (patch)
tree6fe49576dd80c5c2e458270fcb30b37f4d6a8a35 /include/hw/intc
parentff09444a88af9f5d55b9e315aa16d3ace1f25211 (diff)
downloadfocaccia-qemu-6f6006ad07243543595c7607ffbeee7f45b94b80.tar.gz
focaccia-qemu-6f6006ad07243543595c7607ffbeee7f45b94b80.zip
hw/intc/loongarch_extioi: Code cleanup about loongarch_extioi
Remove definition about LoongArchExtIOI and LOONGARCH_EXTIOI, and
replace them with LoongArchExtIOICommonState and macro
LOONGARCH_EXTIOI_COMMON separately. Also remove unnecessary header
files.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'include/hw/intc')
-rw-r--r--include/hw/intc/loongarch_extioi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/intc/loongarch_extioi.h b/include/hw/intc/loongarch_extioi.h
index cc160c52dc..351f18afcf 100644
--- a/include/hw/intc/loongarch_extioi.h
+++ b/include/hw/intc/loongarch_extioi.h
@@ -24,6 +24,4 @@ struct LoongArchExtIOIClass {
     DeviceUnrealize parent_unrealize;
 };
 
-#define LoongArchExtIOI         LoongArchExtIOICommonState
-#define LOONGARCH_EXTIOI(obj)   ((LoongArchExtIOICommonState *)obj)
 #endif /* LOONGARCH_EXTIOI_H */