[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 02/18] hw/southbridge/ich9: Removed unused headers
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 02/18] hw/southbridge/ich9: Removed unused headers |
Date: |
Fri, 28 Feb 2020 12:46:33 +0100 |
The ICH9 chipset is not X86/PC specific.
These files don't use anything declared by the "hw/i386/pc.h"
or "hw/i386/ioapic.h" headers. Remove them.
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
include/hw/i386/ich9.h | 1 -
hw/acpi/ich9.c | 1 -
hw/isa/lpc_ich9.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/include/hw/i386/ich9.h b/include/hw/i386/ich9.h
index 72e803f6e2..a98d10b252 100644
--- a/include/hw/i386/ich9.h
+++ b/include/hw/i386/ich9.h
@@ -5,7 +5,6 @@
#include "hw/sysbus.h"
#include "hw/i386/pc.h"
#include "hw/isa/apm.h"
-#include "hw/i386/ioapic.h"
#include "hw/pci/pci.h"
#include "hw/pci/pcie_host.h"
#include "hw/pci/pci_bridge.h"
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index 2034dd749e..fdd0a6c79e 100644
--- a/hw/acpi/ich9.c
+++ b/hw/acpi/ich9.c
@@ -27,7 +27,6 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qapi/visitor.h"
-#include "hw/i386/pc.h"
#include "hw/pci/pci.h"
#include "migration/vmstate.h"
#include "qemu/timer.h"
diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c
index f85b484eac..cb79616ced 100644
--- a/hw/isa/lpc_ich9.c
+++ b/hw/isa/lpc_ich9.c
@@ -37,7 +37,6 @@
#include "migration/vmstate.h"
#include "hw/irq.h"
#include "hw/isa/apm.h"
-#include "hw/i386/ioapic.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_bridge.h"
#include "hw/i386/ich9.h"
--
2.21.1
- [PATCH v2 00/18] hw: Clean up hw/i386 headers (and few alpha/hppa), Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 01/18] vl: Add missing "hw/boards.h" include, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 02/18] hw/southbridge/ich9: Removed unused headers,
Philippe Mathieu-Daudé <=
- [PATCH v2 03/18] hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 04/18] hw/timer: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 05/18] hw/usb/dev-storage: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 06/18] hw/i386/intel_iommu: Remove unused includes, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 07/18] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 08/18] hw/alpha/dp264: Include "net/net.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 11/18] hw/timer/hpet: Include "exec/address-spaces.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 09/18] hw/hppa/machine: Include "net/net.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 10/18] hw/acpi/cpu_hotplug: Include "hw/pci/pci.h", Philippe Mathieu-Daudé, 2020/02/28