riscv: Remove unused members from struct cpu_operations
authorSamuel Holland <samuel.holland@sifive.com>
Tue, 21 Nov 2023 23:47:25 +0000 (15:47 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 4 Jan 2024 23:03:06 +0000 (15:03 -0800)
commit79093f3ec39c90edf4bd1a532d922ee6163441ec
treef315ff1e67240925d7a6abed0ce717103f9f7ba9
parenta4166aec11309d24e650e74cf8191a6d25a97fcf
riscv: Remove unused members from struct cpu_operations

name is not used anywhere at all. cpu_prepare and cpu_disable do nothing
and always return 0 if implemented.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231121234736.3489608-3-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/cpu_ops.h
arch/riscv/kernel/cpu-hotplug.c
arch/riscv/kernel/cpu_ops.c
arch/riscv/kernel/cpu_ops_sbi.c
arch/riscv/kernel/cpu_ops_spinwait.c
arch/riscv/kernel/head.S
arch/riscv/kernel/setup.c
arch/riscv/kernel/smpboot.c