]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dead code cleanup in kconfig for RISCV_PROBE_VECTOR_UNALIGNED_ACCESS
authorJulian Braha <julianbraha@gmail.com>
Sun, 7 Jun 2026 02:17:53 +0000 (20:17 -0600)
committerPaul Walmsley <pjw@kernel.org>
Sun, 7 Jun 2026 05:48:08 +0000 (23:48 -0600)
commit9f19a42083f5c1bcb7b0c330fa385d77fbd424fb
treeee1ee254563a4c54ded8d8f8b81862ef1cf0eeda
parent3b60f96b852a139ae8256426f2a69e2410f82c9c
riscv: dead code cleanup in kconfig for RISCV_PROBE_VECTOR_UNALIGNED_ACCESS

The same Kconfig statement 'depends on RISCV_ISA_V' appears twice for
RISCV_PROBE_VECTOR_UNALIGNED_ACCESS. The first instance is in its choice
menu, "Vector unaligned Accesses Support", making the second instance in
its specific Kconfig definition dead code. I propose removing this second
instance.

This dead code was found by kconfirm, a static analysis tool for Kconfig.

Signed-off-by: Julian Braha <julianbraha@gmail.com>
Reviewed-by: Jesse Taube <mr.bossman075@gmail.com>
Link: https://patch.msgid.link/20260329203249.563434-1-julianbraha@gmail.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/Kconfig