[PATCH 06/11] hw/core: Cleanup unused included header in 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 06/11] hw/core: Cleanup unused included header in machine.c
Posted by Zhao Liu 10 months, 2 weeks ago
From: Zhao Liu <zhao1.liu@intel.com>

Remove unused header in cpu-common.c:
* qapi/error.h

Tested by "./configure" and then "make".

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

diff --git a/hw/core/machine.c b/hw/core/machine.c
index fb5afdcae4cc..554c4f5df2da 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -11,11 +11,11 @@
  */
 
 #include "qemu/osdep.h"
+
 #include "qemu/accel.h"
 #include "sysemu/replay.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
-#include "qapi/error.h"
 #include "qapi/qapi-visit-machine.h"
 #include "qom/object_interfaces.h"
 #include "sysemu/cpus.h"
-- 
2.34.1