@samitouri / QOSamiQemu / commits / 3373f1d110

hw/vfio: Drop superfluous inclusion of hw-error.h

None of these files use the hw_error() function, so there is no need to include hw-error.h here. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Link: https://lore.kernel.org/qemu-devel/20260428163702.3224323-1-thuth@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>

Thomas Huth committed Apr 28, 2026 at 18:37 UTC 3373f1d110005ebf9f29ec7745a2f0aa5078c41d
4 files changed -4
hw/vfio/device.c
-1
@@ -24,7 +24,6 @@
24 #include "hw/vfio/vfio-device.h"
25 #include "hw/vfio/pci.h"
26 #include "hw/core/iommu.h"
27 -#include "hw/core/hw-error.h"
27 #include "trace.h"
28 #include "qapi/error.h"
29 #include "qemu/error-report.h"
hw/vfio/helpers.c
-1
@@ -24,7 +24,6 @@
24
25 #include "exec/cpu-common.h"
26 #include "hw/vfio/vfio-device.h"
27 -#include "hw/core/hw-error.h"
27 #include "qapi/error.h"
28 #include "vfio-helpers.h"
29
hw/vfio/igd.c
-1
@@ -16,7 +16,6 @@
16 #include "qapi/error.h"
17 #include "qapi/qmp/qerror.h"
18 #include "hw/core/boards.h"
19 -#include "hw/core/hw-error.h"
19 #include "hw/nvram/fw_cfg.h"
20 #include "pci.h"
21 #include "pci-quirks.h"
hw/vfio/kvm-helpers.c
-1
@@ -25,7 +25,6 @@
25 #include "system/kvm.h"
26 #include "exec/cpu-common.h"
27 #include "hw/vfio/vfio-device.h"
28 -#include "hw/core/hw-error.h"
28 #include "qapi/error.h"
29 #include "vfio-helpers.h"
30