misc: remove duplicated includes
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 17 Oct 2017 16:43:57 +0000 (13:43 -0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 18 Dec 2017 14:07:02 +0000 (17:07 +0300)
exec: housekeeping (funny since 02d0e095031)

applied using ./scripts/clean-includes

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
accel/tcg/translate-all.c
exec.c
hw/arm/spitz.c
hw/char/xen_console.c
hw/core/machine.c
hw/s390x/css.c
target/openrisc/exception_helper.c
tests/vhost-user-test.c
util/qemu-sockets.c
vl.c

index 02dfa361bbd1670e0f7fad34e5d93ce454b2ca72..7736257085b200b03a1825a895c2d0f3f57ed998 100644 (file)
@@ -31,7 +31,6 @@
 #include "tcg.h"
 #if defined(CONFIG_USER_ONLY)
 #include "qemu.h"
-#include "exec/exec-all.h"
 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include <sys/param.h>
 #if __FreeBSD_version >= 700104
diff --git a/exec.c b/exec.c
index 03238a3449d99860c4cee407254540ff6a740dbb..3e7c57e914c3d2186138ba64ee5e3e93c7a8174b 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -18,8 +18,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#ifndef _WIN32
-#endif
 
 #include "qemu/cutils.h"
 #include "cpu.h"
@@ -51,7 +49,6 @@
 #include "trace-root.h"
 
 #ifdef CONFIG_FALLOCATE_PUNCH_HOLE
-#include <fcntl.h>
 #include <linux/falloc.h>
 #endif
 
index feccdb00d3091aaabe7bd1310676e81a07f5be93..ac1e15cbbc4be1d22e2b6e6cf80746c397153c82 100644 (file)
@@ -29,7 +29,6 @@
 #include "sysemu/block-backend.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
-#include "sysemu/sysemu.h"
 #include "cpu.h"
 
 #undef REG_FMT
index 3643dfe06704518c11ea9efa57952fa77764da2d..5e68326c19c7eaa6499d0f25e5139ff3ee6793f3 100644 (file)
@@ -27,7 +27,6 @@
 #include "hw/hw.h"
 #include "chardev/char-fe.h"
 #include "hw/xen/xen_backend.h"
-#include "qapi/error.h"
 
 #include <xen/io/console.h>
 
index 36c2fb069c0108f07e380dd8078b3960929355c3..c857f3f9349221f8125a96648b7d32edd6180b0e 100644 (file)
@@ -20,7 +20,6 @@
 #include "sysemu/numa.h"
 #include "qemu/error-report.h"
 #include "qemu/cutils.h"
-#include "sysemu/numa.h"
 #include "sysemu/qtest.h"
 
 static char *machine_get_accel(Object *obj, Error **errp)
index f071e1394b5d8bd47ee42700975845946af99b65..1c526fd7e20bcd5f4c4c1c3fda7b6553cd512713 100644 (file)
@@ -13,7 +13,6 @@
 #include "qapi/error.h"
 #include "qapi/visitor.h"
 #include "hw/qdev.h"
-#include "qemu/error-report.h"
 #include "qemu/bitops.h"
 #include "qemu/error-report.h"
 #include "exec/address-spaces.h"
index a8a5f69b05108e78867cdb131449b9c3d1a57a5b..6073a5b21c5ac13b49e6749b48f95a5259158768 100644 (file)
@@ -21,7 +21,6 @@
 #include "cpu.h"
 #include "exec/exec-all.h"
 #include "exec/helper-proto.h"
-#include "exec/exec-all.h"
 #include "exception.h"
 
 void HELPER(exception)(CPUOpenRISCState *env, uint32_t excp)
index 4b980184784d3f67686b36660b1cf453b9737dae..e2c89ed376a3b8ac4983f17527a177b758fa78a4 100644 (file)
@@ -21,7 +21,6 @@
 #include "libqos/libqos.h"
 #include "libqos/pci-pc.h"
 #include "libqos/virtio-pci.h"
-#include "qapi/error.h"
 
 #include "libqos/malloc-pc.h"
 #include "hw/virtio/virtio-net.h"
index a1cf47e625f1b134b07a0d2de937ee2a8ca170ec..af4f01211a3010997157cba8b4b7f3bb6e570603 100644 (file)
@@ -26,7 +26,6 @@
 #include "qapi/error.h"
 #include "qemu/sockets.h"
 #include "qemu/main-loop.h"
-#include "qapi/clone-visitor.h"
 #include "qapi/qobject-input-visitor.h"
 #include "qapi/qobject-output-visitor.h"
 #include "qapi-visit.h"
diff --git a/vl.c b/vl.c
index fc8bd9372f8f9ae6c380817e26c9592b2083cd20..c1ba52306a25e7fc2a69a3d1a8b7f64a90718c22 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -95,7 +95,6 @@ int main(int argc, char **argv)
 #include "sysemu/kvm.h"
 #include "sysemu/hax.h"
 #include "qapi/qobject-input-visitor.h"
-#include "qapi/qobject-input-visitor.h"
 #include "qapi-visit.h"
 #include "qapi/qmp/qjson.h"
 #include "qemu/option.h"