[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/13] hw/core: Cleanup unused included headers in numa.c
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 10/13] hw/core: Cleanup unused included headers in numa.c |
Date: |
Tue, 12 Mar 2024 09:22:35 +0100 |
From: Zhao Liu <zhao1.liu@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.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240311075621.3224684-4-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/core/numa.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/hw/core/numa.c b/hw/core/numa.c
index f08956ddb0..81d2124349 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.41.0
- [PULL 01/13] hw/ide/ahci: Rename ahci_internal.h to ahci-internal.h, (continued)
- [PULL 01/13] hw/ide/ahci: Rename ahci_internal.h to ahci-internal.h, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 02/13] hw/pci: add some convenient trace-events for pcie and shpc hotplug, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 03/13] hw/ppc/sam460ex: Support short options for adding drives, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 04/13] hw/core/loader-fit: Fix missing ERRP_GUARD() for error_prepend(), Philippe Mathieu-Daudé, 2024/03/12
- [PULL 05/13] hw/core/qdev-properties-system: Fix missing ERRP_GUARD() for error_prepend(), Philippe Mathieu-Daudé, 2024/03/12
- [PULL 06/13] hw/misc/ivshmem: Fix missing ERRP_GUARD() for error_prepend(), Philippe Mathieu-Daudé, 2024/03/12
- [PULL 07/13] sun4u: remap ebus BAR0 to use unassigned_io_ops instead of alias to PCI IO space, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 08/13] hw/core: Cleanup unused included headers in cpu-common.c, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 09/13] hw/core: Cleanup unused included header in machine-qmp-cmds.c, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 11/13] hw/gpio: introduce pcf8574 driver, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 10/13] hw/core: Cleanup unused included headers in numa.c,
Philippe Mathieu-Daudé <=
- [PULL 12/13] meson.build: Always require an objc compiler on macos hosts, Philippe Mathieu-Daudé, 2024/03/12
- [PULL 13/13] docs/about/deprecated.rst: Move SMP configurations item to system emulator section, Philippe Mathieu-Daudé, 2024/03/12
- Re: [PULL 00/13] Misc HW patches for 2024-03-12, Peter Maydell, 2024/03/12