Skip to content

Commit

Permalink
hw/cpu/core: Cleanup unused included header in core.c
Browse files Browse the repository at this point in the history
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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231127145611.925817-2-zhao1.liu@linux.intel.com>
  • Loading branch information
trueptolemy authored and philmd committed Jan 5, 2024
1 parent 8d41afa commit 72bb895
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hw/cpu/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 72bb895

Please sign in to comment.