summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorPeter Maydell2021-07-30 12:59:47 +0200
committerPeter Maydell2021-08-26 18:02:00 +0200
commit62fffaa6c9244bc1ee10da6bceacea3ae6c6431a (patch)
treef0c802f86b9e02a4f86522bbe3a0dee4cae80372 /stubs
parentarch_init.h: Don't include arch_init.h unnecessarily (diff)
downloadqemu-62fffaa6c9244bc1ee10da6bceacea3ae6c6431a.tar.gz
qemu-62fffaa6c9244bc1ee10da6bceacea3ae6c6431a.tar.xz
qemu-62fffaa6c9244bc1ee10da6bceacea3ae6c6431a.zip
stubs: Remove unused arch_type.c stub
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> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210730105947.28215-9-peter.maydell@linaro.org
Diffstat (limited to 'stubs')
-rw-r--r--stubs/arch_type.c4
-rw-r--r--stubs/meson.build1
2 files changed, 0 insertions, 5 deletions
diff --git a/stubs/arch_type.c b/stubs/arch_type.c
deleted file mode 100644
index fc5423bc98..0000000000
--- a/stubs/arch_type.c
+++ /dev/null
@@ -1,4 +0,0 @@
-#include "qemu/osdep.h"
-#include "sysemu/arch_init.h"
-
-const uint32_t arch_type = QEMU_ARCH_NONE;
diff --git a/stubs/meson.build b/stubs/meson.build
index d3fa8646b3..717bfa9a99 100644
--- a/stubs/meson.build
+++ b/stubs/meson.build
@@ -1,4 +1,3 @@
-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'))