meson: remove dead code
Subsystems (2)
PATCH 1/1 meson: remove dead code
Found with "muon analyze".
Signed-off-by Paolo Bonzini <[email protected]>
--- meson.build | 2 -- pc-bios/keymaps/meson.build | 1 - qapi/meson.build | 15 --------------- target/riscv/meson.build | 2 -- 4 files changed, 20 deletions(-)
meson.build +0 -2
@@ -3405,7 +3405,6 @@ foreach target : target_dirs target_inc += include_directories('linux-headers', is_system: true) endif if target.endswith('-softmmu') - qemu_target_name = 'qemu-system-' + target_name target_type='system' t = target_softmmu_arch[target_base_arch].apply(config_target, strict: false) arch_srcs += t.sources()
@@ -3422,7 +3421,6 @@ foreach target : target_dirs abi = config_target['TARGET_ABI_DIR'] target_type='user' target_inc += common_user_inc - qemu_target_name = 'qemu-' + target_name if target_base_arch in target_user_arch t = target_user_arch[target_base_arch].apply(config_target, strict: false) arch_srcs += t.sources()
pc-bios/keymaps/meson.build +0 -1
@@ -38,7 +38,6 @@ if meson.is_cross_build() or 'CONFIG_XKBCOMMON' not in config_host else native_qemu_keymap = qemu_keymap endif -cp = find_program('cp') if native_qemu_keymap.found() t = []
qapi/meson.build +0 -15
@@ -68,21 +68,6 @@ if have_system or have_tools ] endif -qapi_storage_daemon_modules = [ - 'block-core', - 'block-export', - 'char', - 'common', - 'control', - 'crypto', - 'introspect', - 'job', - 'qom', - 'sockets', - 'pragma', - 'transaction', -] - qapi_nonmodule_outputs = [ 'qapi-introspect.c', 'qapi-introspect.h', 'qapi-types.c', 'qapi-types.h',
target/riscv/meson.build +0 -2
@@ -1,6 +1,4 @@ # FIXME extra_args should accept files() -dir = meson.current_source_dir() - gen = [ decodetree.process('insn16.decode', extra_args: ['--static-decode=decode_insn16', '--insnwidth=16']), decodetree.process('insn32.decode', extra_args: '--static-decode=decode_insn32'),
Signature · 1 line
2.37.1
Quoted 2 lines · Paolo Bonzini
Found with "muon analyze".
nice
Reviewed-by Marc-André Lureau <[email protected]>
Quoted 88 lines
Signed-off-by Paolo Bonzini <[email protected]>--- meson.build | 2 -- pc-bios/keymaps/meson.build | 1 - qapi/meson.build | 15 --------------- target/riscv/meson.build | 2 -- 4 files changed, 20 deletions(-)meson.build +0
-1@@ -3405,7 +3405,6 @@ foreach target : target_dirs target_inc += include_directories('linux-headers', is_system: true) endif if target.endswith('-softmmu') - qemu_target_name = 'qemu-system-' + target_name target_type='system' t = target_softmmu_arch[target_base_arch].apply(config_target, strict: false)arch_srcs += t.sources()meson.build +0
-1@@ -3422,7 +3421,6 @@ foreach target : target_dirs abi = config_target['TARGET_ABI_DIR'] target_type='user' target_inc += common_user_inc - qemu_target_name = 'qemu-' + target_name if target_base_arch in target_user_arch t = target_user_arch[target_base_arch].apply(config_target, strict: false)arch_srcs += t.sources()pc-bios/keymaps/meson.build +0
-0@@ -38,7 +38,6 @@ if meson.is_cross_build() or 'CONFIG_XKBCOMMON' not in
config_host
else
native_qemu_keymap=qemu_keymap
endifpc-bios/keymaps/meson.build +0
-1-cp = find_program('cp') if native_qemu_keymap.found() t = []qapi/meson.build +0
-15@@ -68,21 +68,6 @@ if have_system or have_tools ] endif -qapi_storage_daemon_modules = [ - 'block-core', - 'block-export', - 'char', - 'common', - 'control', - 'crypto', - 'introspect', - 'job', - 'qom', - 'sockets', - 'pragma', - 'transaction', -] - qapi_nonmodule_outputs = [ 'qapi-introspect.c', 'qapi-introspect.h', 'qapi-types.c', 'qapi-types.h',target/riscv/meson.build +0
-2@@ -1,6 +1,4 @@ # FIXME extra_args should accept files() -dir = meson.current_source_dir() - gen = [ decodetree.process('insn16.decode', extra_args: ['--static-decode=decode_insn16', '--insnwidth=16']),decodetree.process('insn32.decode',
extra_args:
'--static-decode=decode_insn32'),
--
2.37.1
Signature · 1 line
Marc-André Lureau