From: Thomas Huth <[email protected]> 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 <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Pierrick Bouvier <[email protected]> Link: https://lore.kernel.org/qemu-devel/[email protected] Signed-off-by: Cédric Le Goater <[email protected]> --- hw/vfio/device.c | 1 - hw/vfio/helpers.c | 1 - hw/vfio/igd.c | 1 - hw/vfio/kvm-helpers.c | 1 - 4 files changed, 4 deletions(-) diff --git a/hw/vfio/device.c b/hw/vfio/device.c index 3ffd69a579b8ac135ef729d3d836c8545e36786b..ccf14743e954bdf23b76d4e4c3ab2647a428f050 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 65c6dba0428954170ce8a889edffa34ce9b24b13..c719864b92fb5b73170218a10c1eb66fdbe2edaa 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 6aacf27284f86da401fdd67e359500dd0545222b..e091f21b6a3aea0013e0b3094d2ca13588200c98 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 d71c9590aaa53dc4e436987a34575f57a6397c6b..5e73dddc418b51475c78489189bd1ba8f2b3038d 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" -- 2.54.0
