diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2023-07-13 13:11:01 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-07-25 16:26:17 -0700 |
commit | 131033689da2ce17fb1407f0d3e608a203be5e09 (patch) | |
tree | c514891c22f494458ad915f917cd1aee452637b1 /arch/riscv/include/asm/hwcap.h | |
parent | 67270fb388feb3ab7b8f1c8e2825d43237ffa7a0 (diff) |
RISC-V: drop a needless check in print_isa_ext()
isa_ext_arr cannot be empty, as some of the extensions within it are
always built into the kernel. When this code was first added, back in
commit a9b202606c69 ("RISC-V: Improve /proc/cpuinfo output for ISA
extensions"), the array was empty and needed a dummy item & thus there
could be no extensions present. When the first multi-letter ones did
get added, it was Sscofpmf - which didn't have a Kconfig symbol to
disable it.
Remove this check, as it has been redundant since Sscofpmf was added.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230713-veggie-mug-3d3bf6787ae2@wendy
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/asm/hwcap.h')
0 files changed, 0 insertions, 0 deletions