riscv: remove unused functions in traps_misaligned.c

[ Upstream commit f19c3b4239 ]

Replace macros by the only two function calls that are done from this
file, store_u8() and load_u8().

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Link: https://lore.kernel.org/r/20231004151405.521596-2-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Stable-dep-of: fb197c5d2f ("riscv/purgatory: align riscv_kernel_entry")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Clément Léger 2023-10-04 17:13:58 +02:00 • committed by Greg Kroah-Hartman
commit 10b26868bf