[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/20] hw/southbridge/ich9: Removed unused headers
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 02/20] hw/southbridge/ich9: Removed unused headers |
Date: |
Mon, 14 Oct 2019 16:22:28 +0200 |
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.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/acpi/ich9.c | 1 -
hw/isa/lpc_ich9.c | 2 --
include/hw/i386/ich9.h | 1 -
3 files changed, 4 deletions(-)
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 17c292e306..61cee2ae3a 100644
--- a/hw/isa/lpc_ich9.c
+++ b/hw/isa/lpc_ich9.c
@@ -35,10 +35,8 @@
#include "hw/isa/isa.h"
#include "hw/sysbus.h"
#include "migration/vmstate.h"
-#include "hw/i386/pc.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"
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"
--
2.21.0
- [PATCH 00/20] hw: Clean up hw/i386 headers (and few alpha/hppa), Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 01/20] vl: Add missing "hw/boards.h" include, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 02/20] hw/southbridge/ich9: Removed unused headers,
Philippe Mathieu-Daudé <=
- [PATCH 03/20] hw/input/pckbd: Remove unused "hw/i386/pc.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 04/20] hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 05/20] hw/timer: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 06/20] hw/usb/dev-storage: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 07/20] hw/i386/intel_iommu: Remove unused includes, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 08/20] hw/xen/xen_pt_load_rom: Remove unused includes, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 09/20] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 10/20] hw/alpha/dp264: Include "net/net.h", Philippe Mathieu-Daudé, 2019/10/14