[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 24/33] hw/pci-host/q35: Remove unused includes
From: |
Laurent Vivier |
Subject: |
[PULL 24/33] hw/pci-host/q35: Remove unused includes |
Date: |
Mon, 9 Mar 2020 16:08:28 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
Only q35.c requires declarations from "hw/i386/pc.h", move it there.
Remove all the includes not used by "q35.h".
Acked-by: John Snow <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
hw/pci-host/q35.c | 1 +
include/hw/pci-host/q35.h | 7 -------
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
index a9b9ccc87657..993f467668dc 100644
--- a/hw/pci-host/q35.c
+++ b/hw/pci-host/q35.c
@@ -29,6 +29,7 @@
*/
#include "qemu/osdep.h"
+#include "hw/i386/pc.h"
#include "hw/pci-host/q35.h"
#include "hw/qdev-properties.h"
#include "migration/vmstate.h"
diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h
index 47086c645e9f..070305f83dfd 100644
--- a/include/hw/pci-host/q35.h
+++ b/include/hw/pci-host/q35.h
@@ -22,16 +22,9 @@
#ifndef HW_Q35_H
#define HW_Q35_H
-#include "hw/isa/isa.h"
-#include "hw/sysbus.h"
-#include "hw/i386/pc.h"
-#include "hw/isa/apm.h"
#include "hw/pci/pci.h"
#include "hw/pci/pcie_host.h"
-#include "hw/acpi/acpi.h"
-#include "hw/acpi/ich9.h"
#include "hw/pci-host/pam.h"
-#include "hw/i386/intel_iommu.h"
#include "qemu/units.h"
#include "qemu/range.h"
--
2.24.1
- [PULL 11/33] hw/timer: Remove unused "ui/console.h" header, (continued)
- [PULL 11/33] hw/timer: Remove unused "ui/console.h" header, Laurent Vivier, 2020/03/09
- [PULL 12/33] hw/usb/dev-storage: Remove unused "ui/console.h" header, Laurent Vivier, 2020/03/09
- [PULL 01/33] dp8393x: Mask EOL bit from descriptor addresses, take 2, Laurent Vivier, 2020/03/09
- [PULL 19/33] hw/pci-host/q35: Include "qemu/range.h", Laurent Vivier, 2020/03/09
- [PULL 13/33] hw/i386/intel_iommu: Remove unused includes, Laurent Vivier, 2020/03/09
- [PULL 15/33] hw/alpha/dp264: Include "net/net.h", Laurent Vivier, 2020/03/09
- [PULL 09/33] hw/southbridge/ich9: Removed unused headers, Laurent Vivier, 2020/03/09
- [PULL 07/33] virtfs-proxy-helper: Make the helper_opts[] array const, Laurent Vivier, 2020/03/09
- [PULL 18/33] hw/timer/hpet: Include "exec/address-spaces.h", Laurent Vivier, 2020/03/09
- [PULL 17/33] hw/acpi/cpu_hotplug: Include "hw/pci/pci.h", Laurent Vivier, 2020/03/09
- [PULL 24/33] hw/pci-host/q35: Remove unused includes,
Laurent Vivier <=
- [PULL 10/33] hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header, Laurent Vivier, 2020/03/09
- [PULL 21/33] hw/pci-host/piix: Include "qemu/range.h", Laurent Vivier, 2020/03/09
- [PULL 14/33] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header, Laurent Vivier, 2020/03/09
- [PULL 26/33] core/qdev: fix memleak in qdev_get_gpio_out_connector(), Laurent Vivier, 2020/03/09
- [PULL 20/33] hw/i2c/smbus_ich9: Include "qemu/range.h", Laurent Vivier, 2020/03/09
- [PULL 25/33] hw/i386/pc: Clean up includes, Laurent Vivier, 2020/03/09
- [PULL 16/33] hw/hppa/machine: Include "net/net.h", Laurent Vivier, 2020/03/09
- [PULL 22/33] hw/acpi: Include "hw/mem/nvdimm.h", Laurent Vivier, 2020/03/09
- [PULL 30/33] scsi/scsi-disk: Remove redundant statement in scsi_disk_emulate_command(), Laurent Vivier, 2020/03/09
- [PULL 32/33] display/exynos4210_fimd: Remove redundant statement in exynos4210_fimd_update(), Laurent Vivier, 2020/03/09