diff options
author | Thomas Huth | 2021-04-16 19:13:11 +0200 |
---|---|---|
committer | Laurent Vivier | 2021-05-02 17:24:50 +0200 |
commit | 4c386f8064ca3241a61341b5c5d5a70bbab496ab (patch) | |
tree | 2e2ab4f32c1b65f150fcdb40fd2d634736176d85 /hw/core | |
parent | hw: Do not include qemu/log.h if it is not necessary (diff) | |
download | qemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.tar.gz qemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.tar.xz qemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.zip |
Do not include sysemu/sysemu.h if it's not really necessary
Stop including sysemu/sysemu.h in files that don't need it.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210416171314.2074665-2-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/machine-qmp-cmds.c | 1 | ||||
-rw-r--r-- | hw/core/null-machine.c | 1 | ||||
-rw-r--r-- | hw/core/numa.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/hw/core/machine-qmp-cmds.c b/hw/core/machine-qmp-cmds.c index 68a942595a..2ad004430e 100644 --- a/hw/core/machine-qmp-cmds.c +++ b/hw/core/machine-qmp-cmds.c @@ -22,7 +22,6 @@ #include "sysemu/hw_accel.h" #include "sysemu/numa.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" static void cpustate_to_cpuinfo_s390(CpuInfoS390 *info, const CPUState *cpu) { diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index 7e693523d7..f586a4bef5 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -14,7 +14,6 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" #include "hw/boards.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/core/cpu.h" diff --git a/hw/core/numa.c b/hw/core/numa.c index 68cee65f61..ac6bed5817 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -26,7 +26,6 @@ #include "qemu/units.h" #include "sysemu/hostmem.h" #include "sysemu/numa.h" -#include "sysemu/sysemu.h" #include "exec/cpu-common.h" #include "exec/ramlist.h" #include "qemu/bitmap.h" |