diff options
author | Thomas Huth <thuth@redhat.com> | 2021-03-26 16:18:48 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-02 17:24:50 +0200 |
commit | e06054368cceb59f720e9d7c2ceca84329105758 (patch) | |
tree | bf045cd7e27927eb7b287c863ae04327c5511b06 /include | |
parent | 7c06a34c8c4f2c883d6ab6b15faa214d4ebfb269 (diff) | |
download | qemu-e06054368cceb59f720e9d7c2ceca84329105758.zip qemu-e06054368cceb59f720e9d7c2ceca84329105758.tar.gz qemu-e06054368cceb59f720e9d7c2ceca84329105758.tar.bz2 |
hw: Remove superfluous includes of hw/hw.h
The include/hw/hw.h header only has a prototype for hw_error(),
so it does not make sense to include this in files that do not
use this function.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210326151848.2217216-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/char/avr_usart.h | 1 | ||||
-rw-r--r-- | include/hw/misc/avr_power.h | 1 | ||||
-rw-r--r-- | include/hw/misc/stm32f4xx_exti.h | 1 | ||||
-rw-r--r-- | include/hw/misc/stm32f4xx_syscfg.h | 1 | ||||
-rw-r--r-- | include/hw/pci-host/i440fx.h | 1 | ||||
-rw-r--r-- | include/hw/timer/avr_timer16.h | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/include/hw/char/avr_usart.h b/include/hw/char/avr_usart.h index bb57532..62eaa15 100644 --- a/include/hw/char/avr_usart.h +++ b/include/hw/char/avr_usart.h @@ -24,7 +24,6 @@ #include "hw/sysbus.h" #include "chardev/char-fe.h" -#include "hw/hw.h" #include "qom/object.h" /* Offsets of registers. */ diff --git a/include/hw/misc/avr_power.h b/include/hw/misc/avr_power.h index 707df03..388e421 100644 --- a/include/hw/misc/avr_power.h +++ b/include/hw/misc/avr_power.h @@ -26,7 +26,6 @@ #define HW_MISC_AVR_POWER_H #include "hw/sysbus.h" -#include "hw/hw.h" #include "qom/object.h" diff --git a/include/hw/misc/stm32f4xx_exti.h b/include/hw/misc/stm32f4xx_exti.h index 24b6fa7..ea6b009 100644 --- a/include/hw/misc/stm32f4xx_exti.h +++ b/include/hw/misc/stm32f4xx_exti.h @@ -26,7 +26,6 @@ #define HW_STM_EXTI_H #include "hw/sysbus.h" -#include "hw/hw.h" #include "qom/object.h" #define EXTI_IMR 0x00 diff --git a/include/hw/misc/stm32f4xx_syscfg.h b/include/hw/misc/stm32f4xx_syscfg.h index 8c31fec..6f8ca49 100644 --- a/include/hw/misc/stm32f4xx_syscfg.h +++ b/include/hw/misc/stm32f4xx_syscfg.h @@ -26,7 +26,6 @@ #define HW_STM_SYSCFG_H #include "hw/sysbus.h" -#include "hw/hw.h" #include "qom/object.h" #define SYSCFG_MEMRMP 0x00 diff --git a/include/hw/pci-host/i440fx.h b/include/hw/pci-host/i440fx.h index 24fd539..7fcfd94 100644 --- a/include/hw/pci-host/i440fx.h +++ b/include/hw/pci-host/i440fx.h @@ -11,7 +11,6 @@ #ifndef HW_PCI_I440FX_H #define HW_PCI_I440FX_H -#include "hw/hw.h" #include "hw/pci/pci_bus.h" #include "hw/pci-host/pam.h" #include "qom/object.h" diff --git a/include/hw/timer/avr_timer16.h b/include/hw/timer/avr_timer16.h index 0536254..a1a032a 100644 --- a/include/hw/timer/avr_timer16.h +++ b/include/hw/timer/avr_timer16.h @@ -30,7 +30,6 @@ #include "hw/sysbus.h" #include "qemu/timer.h" -#include "hw/hw.h" #include "qom/object.h" enum NextInterrupt { |