diff mbox series

[for-6.2,3/8] softmmu/arch_init.c: Trim down include list

Message ID 20210730105947.28215-4-peter.maydell@linaro.org
State Superseded
Headers show
Series softmmu: Clean up arch_init.c | expand

Commit Message

Peter Maydell July 30, 2021, 10:59 a.m. UTC
arch_init.c does very little but has a long list of #include lines.
Remove all the unnecessary ones.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

---
 softmmu/arch_init.c | 7 -------
 1 file changed, 7 deletions(-)

-- 
2.20.1

Comments

Richard Henderson July 30, 2021, 6:42 p.m. UTC | #1
On 7/30/21 12:59 AM, Peter Maydell wrote:
> arch_init.c does very little but has a long list of #include lines.

> Remove all the unnecessary ones.

> 

> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>

> ---

>   softmmu/arch_init.c | 7 -------

>   1 file changed, 7 deletions(-)


Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~
diff mbox series

Patch

diff --git a/softmmu/arch_init.c b/softmmu/arch_init.c
index 9011af74e4a..91cbf883e28 100644
--- a/softmmu/arch_init.c
+++ b/softmmu/arch_init.c
@@ -23,13 +23,6 @@ 
  */
 #include "qemu/osdep.h"
 #include "sysemu/arch_init.h"
-#include "hw/pci/pci.h"
-#include "hw/audio/soundhw.h"
-#include "qapi/error.h"
-#include "qemu/config-file.h"
-#include "qemu/error-report.h"
-#include "hw/acpi/acpi.h"
-#include "qemu/help_option.h"
 
 #ifdef TARGET_SPARC
 int graphic_width = 1024;