hw: Do not include hw/irq.h if it is not necessary
authorThomas Huth <thuth@redhat.com>
Sat, 27 Mar 2021 05:02:36 +0000 (06:02 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 2 May 2021 15:24:50 +0000 (17:24 +0200)
Many files include hw/irq.h without needing it. Remove the superfluous
include statements.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210327050236.2232347-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
12 files changed:
hw/arm/msf2-soc.c
hw/i386/kvm/ioapic.c
hw/i386/xen/xen_platform.c
hw/m68k/q800.c
hw/m68k/virt.c
hw/misc/led.c
hw/misc/virt_ctrl.c
hw/ppc/prep.c
hw/riscv/microchip_pfsoc.c
hw/sd/cadence_sdhci.c
hw/timer/sse-counter.c
hw/usb/xlnx-usb-subsystem.c

index d2c29e82d13a83dad32c8fea61afb25ed1d3aa0e..5cfe7caf8349a8ebf569a8ae6c7cc7345d832897 100644 (file)
@@ -27,7 +27,6 @@
 #include "qapi/error.h"
 #include "exec/address-spaces.h"
 #include "hw/char/serial.h"
-#include "hw/irq.h"
 #include "hw/arm/msf2-soc.h"
 #include "hw/misc/unimp.h"
 #include "sysemu/sysemu.h"
index dfc3c9800574f2c7bc5c5d65fedae8d16ef9e180..71a563181e0379be36666d3879c71ed723bb4d0d 100644 (file)
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include "monitor/monitor.h"
 #include "hw/i386/x86.h"
-#include "hw/irq.h"
 #include "hw/qdev-properties.h"
 #include "hw/i386/ioapic_internal.h"
 #include "hw/i386/apic_internal.h"
index 01ae1fb161842df4604df673e1684b63e98e1fc2..bf4f20e92b6f3ae208a4453ca5dfbe58d2507cb1 100644 (file)
@@ -27,7 +27,6 @@
 #include "qapi/error.h"
 #include "hw/ide.h"
 #include "hw/pci/pci.h"
-#include "hw/irq.h"
 #include "hw/xen/xen_common.h"
 #include "migration/vmstate.h"
 #include "hw/xen/xen-legacy-backend.h"
index 1c7f7aa07f07589f117f5f712ffe25738dddde7c..d1ab1ff77d5c0f089c653be4726922fa279c3433 100644 (file)
@@ -27,7 +27,6 @@
 #include "sysemu/sysemu.h"
 #include "cpu.h"
 #include "hw/boards.h"
-#include "hw/irq.h"
 #include "hw/or-irq.h"
 #include "elf.h"
 #include "hw/loader.h"
index 18e6f11041da98798e9245bb9a881912e774d671..9469f82800c93aa0ffed3af99ee492240483e49d 100644 (file)
@@ -13,7 +13,6 @@
 #include "sysemu/sysemu.h"
 #include "cpu.h"
 #include "hw/boards.h"
-#include "hw/irq.h"
 #include "hw/qdev-properties.h"
 #include "elf.h"
 #include "hw/loader.h"
index f552b8b6483cfd29359a034cfa1b64ac3db9f284..f6d6d68bce594ab3af2120abab701887d5329f7a 100644 (file)
@@ -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
index 2ea01bd7a1f07839ad5c11722d811b540fbf0e20..3552d7a09abdd603ac5d25b11398fe5642b71eb3 100644 (file)
@@ -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"
index f1b1efdcef9f11a9207c51fd6f43113773ad33ac..af4ccb9f431fa7ff4e27f5d5eaf3ea3589f8f874 100644 (file)
@@ -38,7 +38,6 @@
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/log.h"
-#include "hw/irq.h"
 #include "hw/loader.h"
 #include "hw/rtc/mc146818rtc.h"
 #include "hw/isa/pc87312.h"
index c4146b7a6b387bd893fadd0bb92c19af44db5cd2..01537b30ebc98577ae67776a51ca195695b63c12 100644 (file)
@@ -41,7 +41,6 @@
 #include "qemu/cutils.h"
 #include "qapi/error.h"
 #include "hw/boards.h"
-#include "hw/irq.h"
 #include "hw/loader.h"
 #include "hw/sysbus.h"
 #include "chardev/char.h"
index 0b371c843d8e38d059925bc2275814b51a02d07b..c89538b491f7889a58297bc62d5def2a9592629c 100644 (file)
@@ -26,7 +26,6 @@
 #include "qemu/log.h"
 #include "qapi/error.h"
 #include "migration/vmstate.h"
-#include "hw/irq.h"
 #include "hw/sd/cadence_sdhci.h"
 #include "sdhci-internal.h"
 
index 0384051f151149db2826c96eaf69d704bc229dd3..16c0e8ad15db9ea7ae038003f7dfdf7585729400 100644 (file)
@@ -33,7 +33,6 @@
 #include "trace.h"
 #include "hw/timer/sse-counter.h"
 #include "hw/sysbus.h"
-#include "hw/irq.h"
 #include "hw/registerfields.h"
 #include "hw/clock.h"
 #include "hw/qdev-clock.h"
index 568257370cb0dae9c8b188d9ce5c4b013bee2a90..c760c3058a42f697e9b37125f38603b499fc4f3d 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/irq.h"
 #include "hw/register.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"