mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
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>
This commit is contained in:
parent
3b60f96b85
commit
9f19a42083
|
|
@ -1024,7 +1024,6 @@ choice
|
|||
config RISCV_PROBE_VECTOR_UNALIGNED_ACCESS
|
||||
bool "Probe speed of vector unaligned accesses"
|
||||
select RISCV_VECTOR_MISALIGNED
|
||||
depends on RISCV_ISA_V
|
||||
help
|
||||
During boot, the kernel will run a series of tests to determine the
|
||||
speed of vector unaligned accesses if they are supported. This probing
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user