From bbcad965bf7b3afac13d7bbc90d3eeca1a5b66bf Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 1 Feb 2018 12:18:45 +0100 Subject: [PATCH] Drop superfluous includes of qapi/qmp/qjson.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Markus Armbruster Message-Id: <20180201111846.21846-19-armbru@redhat.com> --- balloon.c | 1 - block/nbd.c | 1 - block/quorum.c | 1 - blockjob.c | 1 - hw/core/qdev.c | 1 - hw/net/virtio-net.c | 1 - hw/pci/pcie_aer.c | 1 - target/s390x/kvm.c | 1 - tests/test-qobject-output-visitor.c | 1 - ui/spice-core.c | 1 - vl.c | 1 - 11 files changed, 11 deletions(-) diff --git a/balloon.c b/balloon.c index f8b5ca9870..d8dd6fe773 100644 --- a/balloon.c +++ b/balloon.c @@ -33,7 +33,6 @@ #include "qmp-commands.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qjson.h" static QEMUBalloonEvent *balloon_event_fn; static QEMUBalloonStatus *balloon_stat_fn; diff --git a/block/nbd.c b/block/nbd.c index 94220f6d14..8cc4c6f312 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -36,7 +36,6 @@ #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" #include "qapi/qmp/qstring.h" #include "qemu/cutils.h" diff --git a/block/quorum.c b/block/quorum.c index 980403f63e..2dc79bf7e2 100644 --- a/block/quorum.c +++ b/block/quorum.c @@ -19,7 +19,6 @@ #include "qapi/error.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qjson.h" #include "qapi/qmp/qlist.h" #include "qapi/qmp/qstring.h" #include "qapi-event.h" diff --git a/blockjob.c b/blockjob.c index 081f1d2b91..3f52f29f75 100644 --- a/blockjob.c +++ b/blockjob.c @@ -31,7 +31,6 @@ #include "sysemu/block-backend.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qjson.h" #include "qemu/coroutine.h" #include "qemu/id.h" #include "qemu/timer.h" diff --git a/hw/core/qdev.c b/hw/core/qdev.c index 515cd505cd..0f70d7e5fb 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -31,7 +31,6 @@ #include "qapi/error.h" #include "qapi/qmp/qerror.h" #include "qapi/visitor.h" -#include "qapi/qmp/qjson.h" #include "qemu/error-report.h" #include "hw/hotplug.h" #include "hw/boards.h" diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 0dd3cb8de4..369d40b378 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -23,7 +23,6 @@ #include "net/vhost_net.h" #include "hw/virtio/virtio-bus.h" #include "qapi/error.h" -#include "qapi/qmp/qjson.h" #include "qapi-event.h" #include "hw/virtio/virtio-access.h" #include "migration/misc.h" diff --git a/hw/pci/pcie_aer.c b/hw/pci/pcie_aer.c index 0b55392fe7..939da0b778 100644 --- a/hw/pci/pcie_aer.c +++ b/hw/pci/pcie_aer.c @@ -21,7 +21,6 @@ #include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "qapi/qmp/qdict.h" -#include "qapi/qmp/qjson.h" #include "monitor/monitor.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pcie.h" diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index 63c531e028..8fbbf72e4b 100644 --- a/target/s390x/kvm.c +++ b/target/s390x/kvm.c @@ -38,7 +38,6 @@ #include "sysemu/hw_accel.h" #include "hw/hw.h" #include "sysemu/device_tree.h" -#include "qapi/qmp/qjson.h" #include "exec/gdbstub.h" #include "exec/address-spaces.h" #include "trace.h" diff --git a/tests/test-qobject-output-visitor.c b/tests/test-qobject-output-visitor.c index 1b8a9ee372..3cf942414c 100644 --- a/tests/test-qobject-output-visitor.c +++ b/tests/test-qobject-output-visitor.c @@ -22,7 +22,6 @@ #include "qapi/qmp/qnull.h" #include "qapi/qmp/qnum.h" #include "qapi/qmp/qstring.h" -#include "qapi/qmp/qjson.h" typedef struct TestOutputVisitorData { Visitor *ov; diff --git a/ui/spice-core.c b/ui/spice-core.c index 03f9e83456..64ed759be5 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -31,7 +31,6 @@ #include "qemu/sockets.h" #include "qmp-commands.h" #include "qapi/error.h" -#include "qapi/qmp/qjson.h" #include "qemu/notify.h" #include "migration/misc.h" #include "hw/hw.h" diff --git a/vl.c b/vl.c index 5570f1d723..21878496ec 100644 --- a/vl.c +++ b/vl.c @@ -98,7 +98,6 @@ int main(int argc, char **argv) #include "sysemu/hax.h" #include "qapi/qobject-input-visitor.h" #include "qapi-visit.h" -#include "qapi/qmp/qjson.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "qemu-options.h"