aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-03-27 09:28:04 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:50 +0200
commitf6527eadebbcceba47c6ec5c7738499194904a56 (patch)
treeb3ad0d006d3264aea87622ee10e83e71c357ff5d /hw/vfio
parente06054368cceb59f720e9d7c2ceca84329105758 (diff)
downloadqemu-f6527eadebbcceba47c6ec5c7738499194904a56.zip
qemu-f6527eadebbcceba47c6ec5c7738499194904a56.tar.gz
qemu-f6527eadebbcceba47c6ec5c7738499194904a56.tar.bz2
hw: Do not include hw/sysbus.h if it is not necessary
Many files include hw/sysbus.h without needing it. Remove the superfluous include statements. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210327082804.2259480-1-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/vfio')
-rw-r--r--hw/vfio/ap.c1
-rw-r--r--hw/vfio/ccw.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c
index 9571c2f..f9dbec3 100644
--- a/hw/vfio/ap.c
+++ b/hw/vfio/ap.c
@@ -14,7 +14,6 @@
#include <linux/vfio.h>
#include <sys/ioctl.h>
#include "qapi/error.h"
-#include "hw/sysbus.h"
#include "hw/vfio/vfio.h"
#include "hw/vfio/vfio-common.h"
#include "hw/s390x/ap-device.h"
diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c
index b2df708..e752c84 100644
--- a/hw/vfio/ccw.c
+++ b/hw/vfio/ccw.c
@@ -20,7 +20,6 @@
#include <sys/ioctl.h>
#include "qapi/error.h"
-#include "hw/sysbus.h"
#include "hw/vfio/vfio.h"
#include "hw/vfio/vfio-common.h"
#include "hw/s390x/s390-ccw.h"