riscv: Remove superfluous smp_mb()
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Thu, 29 Feb 2024 12:10:55 +0000 (13:10 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 17 Apr 2024 01:27:46 +0000 (18:27 -0700)
commit29cee75fb66e6f2845360e0598974253bf79181a
treeb5ac03c4e9cec7987f64c3db8f8daa837f33d035
parent6613476e225e090cc9aad49be7fa504e290dd33d
riscv: Remove superfluous smp_mb()

This memory barrier is not needed and not documented so simply remove
it.

Suggested-by: Andrea Parri <andrea@rivosinc.com>
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrea Parri <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20240229121056.203419-2-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/patch.c