From: Claudio Fontana <cfont...@suse.de> Remove some unused headers.
Signed-off-by: Claudio Fontana <cfont...@suse.de> Acked-by: Richard Henderson <richard.hender...@linaro.org> [added back some includes that are still needed at this point] Signed-off-by: Fabiano Rosas <faro...@suse.de> --- Originally from https://lore.kernel.org/r/20210416162824.25131-1-cfont...@suse.de [RFC v14 46/80] target/arm: cleanup cpu includes --- target/arm/cpu.c | 1 - target/arm/cpu64.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 38d066c294..2e59d16529 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -26,7 +26,6 @@ #include "target/arm/idau.h" #include "qemu/module.h" #include "qapi/error.h" -#include "qapi/visitor.h" #include "cpu.h" #ifdef CONFIG_TCG #include "hw/core/tcg-cpu-ops.h" diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 3d74f134f5..fe231f3d7d 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -21,13 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#ifdef CONFIG_TCG -#include "hw/core/tcg-cpu-ops.h" -#endif /* CONFIG_TCG */ #include "qemu/module.h" -#if !defined(CONFIG_USER_ONLY) -#include "hw/loader.h" -#endif #include "sysemu/kvm.h" #include "sysemu/hvf.h" #include "kvm_arm.h" -- 2.35.3