[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 07/20] hw/cxl: Clean up includes
From: |
Markus Armbruster |
Subject: |
[PATCH v5 07/20] hw/cxl: Clean up includes |
Date: |
Mon, 30 Jan 2023 14:21:43 +0100 |
Clean up includes so that qemu/osdep.h is included first in .c, and
not in .h, and headers which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
---
include/hw/cxl/cxl_component.h | 2 --
include/hw/cxl/cxl_host.h | 1 -
include/hw/cxl/cxl_pci.h | 1 -
3 files changed, 4 deletions(-)
diff --git a/include/hw/cxl/cxl_component.h b/include/hw/cxl/cxl_component.h
index 5dca21e95b..692d7a5507 100644
--- a/include/hw/cxl/cxl_component.h
+++ b/include/hw/cxl/cxl_component.h
@@ -15,9 +15,7 @@
#define CXL2_COMPONENT_CM_REGION_SIZE 0x1000
#define CXL2_COMPONENT_BLOCK_SIZE 0x10000
-#include "qemu/compiler.h"
#include "qemu/range.h"
-#include "qemu/typedefs.h"
#include "hw/cxl/cxl_cdat.h"
#include "hw/register.h"
#include "qapi/error.h"
diff --git a/include/hw/cxl/cxl_host.h b/include/hw/cxl/cxl_host.h
index a1b662ce40..c9bc9c7c50 100644
--- a/include/hw/cxl/cxl_host.h
+++ b/include/hw/cxl/cxl_host.h
@@ -7,7 +7,6 @@
* COPYING file in the top-level directory.
*/
-#include "qemu/osdep.h"
#include "hw/cxl/cxl.h"
#include "hw/boards.h"
diff --git a/include/hw/cxl/cxl_pci.h b/include/hw/cxl/cxl_pci.h
index 01e15ed5b4..407be95b9e 100644
--- a/include/hw/cxl/cxl_pci.h
+++ b/include/hw/cxl/cxl_pci.h
@@ -10,7 +10,6 @@
#ifndef CXL_PCI_H
#define CXL_PCI_H
-#include "qemu/compiler.h"
#define CXL_VENDOR_ID 0x1e98
--
2.39.0
- [PATCH v5 00/20] Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 16/20] accel: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 07/20] hw/cxl: Clean up includes,
Markus Armbruster <=
- [PATCH v5 03/20] scripts/clean-includes: Skip symbolic links, Markus Armbruster, 2023/01/30
- [PATCH v5 09/20] hw/tricore: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 04/20] scripts/clean-includes: Improve --git commit message, Markus Armbruster, 2023/01/30
- [PATCH v5 08/20] hw/input: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 15/20] block: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 06/20] crypto: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 13/20] target/hexagon: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 01/20] scripts/clean-includes: Fully skip / ignore files, Markus Armbruster, 2023/01/30
- [PATCH v5 10/20] qga: Clean up includes, Markus Armbruster, 2023/01/30