On Wed, 25 Nov 2020 15:56:35 -0500
Eduardo Habkost <[email protected]> wrote:

> The only declarations in arch_init.h are the `arch_type` variable
> and the QEMU_ARCH_* constants.  Stop including arch_init.h from
> code that don't use neither.
> 
> Patch generated automatically using the command:
> 
>  $ sed -i -e '/#include "sysemu.arch_init.h"/d' \
>    $(comm -23 \
>       <(git grep -l arch_init.h | sort) \
>       <((git grep -l -w 'arch_type'; g grep -l QEMU_ARCH;) | sort -u))
> 
> Signed-off-by: Eduardo Habkost <[email protected]>
> ---
> Cc: Richard Henderson <[email protected]>
> Cc: Paolo Bonzini <[email protected]>
> Cc: Eduardo Habkost <[email protected]>
> Cc: "Michael S. Tsirkin" <[email protected]>
> Cc: Marcel Apfelbaum <[email protected]>
> Cc: "HervĂ© Poussineau" <[email protected]>
> Cc: Aleksandar Rikalo <[email protected]>
> Cc: "Philippe Mathieu-DaudĂ©" <[email protected]>
> Cc: Aurelien Jarno <[email protected]>
> Cc: Jiaxun Yang <[email protected]>
> Cc: David Gibson <[email protected]>
> Cc: Palmer Dabbelt <[email protected]>
> Cc: Alistair Francis <[email protected]>
> Cc: Sagar Karandikar <[email protected]>
> Cc: Bastian Koppelmann <[email protected]>
> Cc: Markus Armbruster <[email protected]>
> Cc: David Hildenbrand <[email protected]>
> Cc: Cornelia Huck <[email protected]>
> Cc: Thomas Huth <[email protected]>
> Cc: Halil Pasic <[email protected]>
> Cc: Christian Borntraeger <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> ---
>  accel/accel.c                   | 1 -
>  hw/i386/pc.c                    | 1 -
>  hw/i386/pc_piix.c               | 1 -
>  hw/i386/pc_q35.c                | 1 -
>  hw/mips/jazz.c                  | 1 -
>  hw/mips/malta.c                 | 1 -
>  hw/ppc/prep.c                   | 1 -
>  hw/riscv/sifive_e.c             | 1 -
>  hw/riscv/sifive_u.c             | 1 -
>  hw/riscv/spike.c                | 1 -
>  hw/riscv/virt.c                 | 1 -
>  monitor/qmp-cmds.c              | 1 -
>  target/i386/cpu.c               | 1 -
>  target/s390x/cpu.c              | 1 -
>  target/s390x/cpu_models.c       | 1 -
>  target/ppc/translate_init.c.inc | 1 -
>  16 files changed, 16 deletions(-)

Reviewed-by: Cornelia Huck <[email protected]>


Reply via email to