[PATCH 08/11] hw/core: Cleanup unnecessary included header in null-machine.c

Zhao Liu posted 11 patches 10 months, 2 weeks ago
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>
There is a newer version of this series
[PATCH 08/11] hw/core: Cleanup unnecessary included header in null-machine.c
Posted by Zhao Liu 10 months, 2 weeks ago
From: Zhao Liu <zhao1.liu@intel.com>

Remove the unnecessary header (hw/core/cpu.h) since the hw/boards.h
has already included that header.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
 hw/core/null-machine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c
index f586a4bef543..a0c7acc19cc3 100644
--- a/hw/core/null-machine.c
+++ b/hw/core/null-machine.c
@@ -12,10 +12,10 @@
  */
 
 #include "qemu/osdep.h"
+
 #include "qemu/error-report.h"
 #include "hw/boards.h"
 #include "exec/address-spaces.h"
-#include "hw/core/cpu.h"
 
 static void machine_none_init(MachineState *mch)
 {
-- 
2.34.1