From: Zhao Liu <zhao1....@intel.com> Remove unused header in numa.c: * qemu/bitmap.h * migration/vmstate.h
Note: Though parse_numa_hmat_lb() has the variable named "bitmap_copy", it doesn't use the normal bitmap ops so that it's safe to exclude qemu/bitmap.h header. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu <zhao1....@intel.com> --- v3: Re-included hw/core/cpu.h since CPU_UNSET_NUMA_NODE_ID is defined in this header. --- hw/core/numa.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/core/numa.c b/hw/core/numa.c index f08956ddb0ff..81d21243498e 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -28,7 +28,6 @@ #include "sysemu/numa.h" #include "exec/cpu-common.h" #include "exec/ramlist.h" -#include "qemu/bitmap.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" @@ -36,7 +35,6 @@ #include "sysemu/qtest.h" #include "hw/core/cpu.h" #include "hw/mem/pc-dimm.h" -#include "migration/vmstate.h" #include "hw/boards.h" #include "hw/mem/memory-device.h" #include "qemu/option.h" -- 2.34.1