[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.2 8/8] stubs: Remove unused arch_type.c stub
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH for-6.2 8/8] stubs: Remove unused arch_type.c stub |
Date: |
Fri, 30 Jul 2021 15:23:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/30/21 12:59 PM, Peter Maydell wrote:
> We added a stub for the arch_type global in commit 5964ed56d9a1 so
> that we could compile blockdev.c into the tools. However, in commit
> 9db1d3a2be9bf we removed the only use of arch_type from blockdev.c.
> The stub is therefore no longer needed, and we can delete it again,
> together with the QEMU_ARCH_NONE value that only the stub was using.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> include/sysemu/arch_init.h | 2 --
> stubs/arch_type.c | 4 ----
> stubs/meson.build | 1 -
> 3 files changed, 7 deletions(-)
> delete mode 100644 stubs/arch_type.c
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
- Re: [PATCH for-6.2 5/8] arch_init.h: Add QEMU_ARCH_HEXAGON, (continued)