From e924921f5cea55d20a90f1d8d7239d35427bef04 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Sat, 27 Mar 2021 06:02:36 +0100 Subject: hw: Do not include hw/irq.h if it is not necessary Many files include hw/irq.h without needing it. Remove the superfluous include statements. Signed-off-by: Thomas Huth Reviewed-by: Alistair Francis Message-Id: <20210327050236.2232347-1-thuth@redhat.com> Signed-off-by: Laurent Vivier --- hw/misc/led.c | 1 - hw/misc/virt_ctrl.c | 1 - 2 files changed, 2 deletions(-) (limited to 'hw/misc') diff --git a/hw/misc/led.c b/hw/misc/led.c index f552b8b..f6d6d68 100644 --- a/hw/misc/led.c +++ b/hw/misc/led.c @@ -10,7 +10,6 @@ #include "migration/vmstate.h" #include "hw/qdev-properties.h" #include "hw/misc/led.h" -#include "hw/irq.h" #include "trace.h" #define LED_INTENSITY_PERCENT_MAX 100 diff --git a/hw/misc/virt_ctrl.c b/hw/misc/virt_ctrl.c index 2ea01bd..3552d7a 100644 --- a/hw/misc/virt_ctrl.c +++ b/hw/misc/virt_ctrl.c @@ -5,7 +5,6 @@ */ #include "qemu/osdep.h" -#include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -- cgit v1.1