[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] hw/cpu/core: Cleanup unused included header in core.c
|
From: |
Zhao Liu |
|
Subject: |
[PATCH 1/2] hw/cpu/core: Cleanup unused included header in core.c |
|
Date: |
Mon, 27 Nov 2023 22:56:10 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
Remove unused header (qemu/module.h and sysemu/cpus.h) in core.c,
and reorder the remaining header files (except qemu/osdep.h) in
alphabetical order.
Tested by "./configure" and then "make".
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
hw/cpu/core.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hw/cpu/core.c b/hw/cpu/core.c
index 987607515574..495a5c30ffe1 100644
--- a/hw/cpu/core.c
+++ b/hw/cpu/core.c
@@ -8,12 +8,11 @@
*/
#include "qemu/osdep.h"
+
+#include "hw/boards.h"
#include "hw/cpu/core.h"
-#include "qapi/visitor.h"
-#include "qemu/module.h"
#include "qapi/error.h"
-#include "sysemu/cpus.h"
-#include "hw/boards.h"
+#include "qapi/visitor.h"
static void core_prop_get_core_id(Object *obj, Visitor *v, const char *name,
void *opaque, Error **errp)
--
2.34.1