Skip to content

Commit f0936cb

Browse files
huthphilmd
authored andcommitted
Remove inclusion of hw/hw.h from files that don't need it
hw/hw.h only contains the prototype of hw_error() nowadays, so files that don't use this function don't need to include this header. Signed-off-by: Thomas Huth <[email protected]> Reviewed-by: Cédric Le Goater <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Message-ID: <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
1 parent 3bf445f commit f0936cb

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

hw/misc/edu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "qemu/log.h"
2727
#include "qemu/units.h"
2828
#include "hw/pci/pci.h"
29-
#include "hw/hw.h"
3029
#include "hw/pci/msi.h"
3130
#include "qemu/timer.h"
3231
#include "qom/object.h"

hw/vfio/container.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "exec/address-spaces.h"
2727
#include "exec/memory.h"
2828
#include "exec/ram_addr.h"
29-
#include "hw/hw.h"
3029
#include "qemu/error-report.h"
3130
#include "qemu/range.h"
3231
#include "sysemu/reset.h"

include/hw/misc/xlnx-cfi-if.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define XLNX_CFI_IF_H 1
1212

1313
#include "qemu/help-texts.h"
14-
#include "hw/hw.h"
1514
#include "qom/object.h"
1615

1716
#define TYPE_XLNX_CFI_IF "xlnx-cfi-if"

0 commit comments

Comments
 (0)