mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
ff09444a88
commit
6f6006ad07
2 changed files with 14 additions and 19 deletions
|
@ -24,6 +24,4 @@ struct LoongArchExtIOIClass {
|
|||
DeviceUnrealize parent_unrealize;
|
||||
};
|
||||
|
||||
#define LoongArchExtIOI LoongArchExtIOICommonState
|
||||
#define LOONGARCH_EXTIOI(obj) ((LoongArchExtIOICommonState *)obj)
|
||||
#endif /* LOONGARCH_EXTIOI_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue