]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: Change check_unaligned_access_speed_all_cpus to void
authorAndrew Jones <ajones@ventanamicro.com>
Tue, 4 Mar 2025 12:00:19 +0000 (13:00 +0100)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Wed, 19 Mar 2025 14:23:29 +0000 (14:23 +0000)
commit813d39baee3229d31420af61460b97f4fafdd352
treec99709f17660372da2b68878f79a21ac65df6e2f
parente6d0adf2eb5bb3244cb21a7a15899aa058bd384f
riscv: Change check_unaligned_access_speed_all_cpus to void

The return value of check_unaligned_access_speed_all_cpus() is always
zero, so make the function void so we don't need to concern ourselves
with it. The change also allows us to tidy up
check_unaligned_access_all_cpus() a bit.

Reviewed-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20250304120014.143628-14-ajones@ventanamicro.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/unaligned_access_speed.c