Skip to content

Commit 62fffaa

Browse files
committed
stubs: Remove unused arch_type.c stub
We added a stub for the arch_type global in commit 5964ed5 so that we could compile blockdev.c into the tools. However, in commit 9db1d3a 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 <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
1 parent 7f4c520 commit 62fffaa

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

include/sysemu/arch_init.h

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ enum {
2424
QEMU_ARCH_RX = (1 << 20),
2525
QEMU_ARCH_AVR = (1 << 21),
2626
QEMU_ARCH_HEXAGON = (1 << 22),
27-
28-
QEMU_ARCH_NONE = (1 << 31),
2927
};
3028

3129
extern const uint32_t arch_type;

stubs/arch_type.c

-4
This file was deleted.

stubs/meson.build

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
stub_ss.add(files('arch_type.c'))
21
stub_ss.add(files('bdrv-next-monitor-owned.c'))
32
stub_ss.add(files('blk-commit-all.c'))
43
stub_ss.add(files('blk-exp-close-all.c'))

0 commit comments

Comments
 (0)