[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 8/9] hw/core: Cleanup unused included headers in numa.c
|
From: |
Zhao Liu |
|
Subject: |
[PATCH v2 8/9] hw/core: Cleanup unused included headers in numa.c |
|
Date: |
Tue, 16 Jan 2024 15:46:46 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
Remove unused header in numa.c:
* qemu/bitmap.h
* hw/core/cpu.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>
---
hw/core/numa.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/hw/core/numa.c b/hw/core/numa.c
index f08956ddb0ff..05c5e1b8514c 100644
--- a/hw/core/numa.c
+++ b/hw/core/numa.c
@@ -28,15 +28,12 @@
#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"
#include "qapi/qapi-visit-machine.h"
#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
- [PATCH v2 0/9] hw/core: Cleanup and reorder headers, Zhao Liu, 2024/01/16
- [PATCH v2 1/9] MAINTAINERS: Update hw/core/cpu.c entry, Zhao Liu, 2024/01/16
- [PATCH v2 2/9] hw/core: Cleanup unused included headers in cpu-common.c, Zhao Liu, 2024/01/16
- [PATCH v2 3/9] hw/core: Reorder included headers in cpu-common.c, Zhao Liu, 2024/01/16
- [PATCH v2 4/9] hw/core: Reorder included headers in cpu-sysemu.c, Zhao Liu, 2024/01/16
- [PATCH v2 7/9] hw/core: Reorder included headers in null-machine.c, Zhao Liu, 2024/01/16
- [PATCH v2 5/9] hw/core: Cleanup unused included header in machine-qmp-cmds.c, Zhao Liu, 2024/01/16
- [PATCH v2 6/9] hw/core: Reorder included header in machine.c, Zhao Liu, 2024/01/16
- [PATCH v2 8/9] hw/core: Cleanup unused included headers in numa.c,
Zhao Liu <=
- [PATCH v2 9/9] hw/core: Reorder included headers in numa.c, Zhao Liu, 2024/01/16
- Re: [PATCH v2 0/9] hw/core: Cleanup and reorder headers, Zhao Liu, 2024/01/29