[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 2/9] hw/core: Cleanup unused included headers in cpu-common.c
|
From: |
Zhao Liu |
|
Subject: |
[PATCH v2 2/9] hw/core: Cleanup unused included headers in cpu-common.c |
|
Date: |
Tue, 16 Jan 2024 15:46:40 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
Remove unused headers in cpu-common.c:
* qemu/notify.h
* exec/cpu-common.h
* qemu/error-report.h
* qemu/qemu-print.h
Tested by "./configure" and then "make".
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
hw/core/cpu-common.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c
index 3ccfe882e2c3..a27f0e4cf216 100644
--- a/hw/core/cpu-common.c
+++ b/hw/core/cpu-common.c
@@ -22,13 +22,9 @@
#include "qapi/error.h"
#include "hw/core/cpu.h"
#include "sysemu/hw_accel.h"
-#include "qemu/notify.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
#include "exec/log.h"
-#include "exec/cpu-common.h"
-#include "qemu/error-report.h"
-#include "qemu/qemu-print.h"
#include "sysemu/tcg.h"
#include "hw/boards.h"
#include "hw/qdev-properties.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 <=
- [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, 2024/01/16
- [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