From: Zhao Liu Date: Mon, 27 Nov 2023 14:56:10 +0000 (+0800) Subject: hw/cpu/core: Cleanup unused included header in core.c X-Git-Tag: v9.0.0-rc0~123^2~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72bb89582447ed896e95883ff9741fa0fc95a5bd;p=thirdparty%2Fqemu.git hw/cpu/core: Cleanup unused included header in core.c 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 Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20231127145611.925817-2-zhao1.liu@linux.intel.com> --- diff --git a/hw/cpu/core.c b/hw/cpu/core.c index 98760751557..495a5c30ffe 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)