Commit 3373f1d110 for qemu.org
commit 3373f1d110005ebf9f29ec7745a2f0aa5078c41d
Author: Thomas Huth <thuth@redhat.com>
Date: Tue Apr 28 18:37:02 2026 +0200
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>
diff --git a/hw/vfio/device.c b/hw/vfio/device.c
index 3ffd69a579..ccf14743e9 100644
--- a/hw/vfio/device.c
+++ b/hw/vfio/device.c
@@ -24,7 +24,6 @@
#include "hw/vfio/vfio-device.h"
#include "hw/vfio/pci.h"
#include "hw/core/iommu.h"
-#include "hw/core/hw-error.h"
#include "trace.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
diff --git a/hw/vfio/helpers.c b/hw/vfio/helpers.c
index 65c6dba042..c719864b92 100644
--- a/hw/vfio/helpers.c
+++ b/hw/vfio/helpers.c
@@ -24,7 +24,6 @@
#include "exec/cpu-common.h"
#include "hw/vfio/vfio-device.h"
-#include "hw/core/hw-error.h"
#include "qapi/error.h"
#include "vfio-helpers.h"
diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c
index 6aacf27284..e091f21b6a 100644
--- a/hw/vfio/igd.c
+++ b/hw/vfio/igd.c
@@ -16,7 +16,6 @@
#include "qapi/error.h"
#include "qapi/qmp/qerror.h"
#include "hw/core/boards.h"
-#include "hw/core/hw-error.h"
#include "hw/nvram/fw_cfg.h"
#include "pci.h"
#include "pci-quirks.h"
diff --git a/hw/vfio/kvm-helpers.c b/hw/vfio/kvm-helpers.c
index d71c9590aa..5e73dddc41 100644
--- a/hw/vfio/kvm-helpers.c
+++ b/hw/vfio/kvm-helpers.c
@@ -25,7 +25,6 @@
#include "system/kvm.h"
#include "exec/cpu-common.h"
#include "hw/vfio/vfio-device.h"
-#include "hw/core/hw-error.h"
#include "qapi/error.h"
#include "vfio-helpers.h"