Skip to content
Snippets Groups Projects
Commit 62fffaa6 authored by Peter Maydell's avatar Peter Maydell
Browse files

stubs: Remove unused arch_type.c stub


We added a stub for the arch_type global in commit 5964ed56 so
that we could compile blockdev.c into the tools.  However, in commit
9db1d3a2 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: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-id: 20210730105947.28215-9-peter.maydell@linaro.org
parent 7f4c520d
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,6 @@ enum {
QEMU_ARCH_RX = (1 << 20),
QEMU_ARCH_AVR = (1 << 21),
QEMU_ARCH_HEXAGON = (1 << 22),
QEMU_ARCH_NONE = (1 << 31),
};
extern const uint32_t arch_type;
......
#include "qemu/osdep.h"
#include "sysemu/arch_init.h"
const uint32_t arch_type = QEMU_ARCH_NONE;
stub_ss.add(files('arch_type.c'))
stub_ss.add(files('bdrv-next-monitor-owned.c'))
stub_ss.add(files('blk-commit-all.c'))
stub_ss.add(files('blk-exp-close-all.c'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment