diff options
author | Thomas Huth <thuth@redhat.com> | 2021-03-27 09:28:04 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-02 17:24:50 +0200 |
commit | f6527eadebbcceba47c6ec5c7738499194904a56 (patch) | |
tree | b3ad0d006d3264aea87622ee10e83e71c357ff5d /hw/vfio | |
parent | e06054368cceb59f720e9d7c2ceca84329105758 (diff) |
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.c | 1 | ||||
-rw-r--r-- | hw/vfio/ccw.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c index 9571c2f91f..f9dbec37da 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 b2df708e4b..e752c845e9 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" |