riscv: remove unused functions in traps_misaligned.c
authorClément Léger <cleger@rivosinc.com>
Wed, 4 Oct 2023 15:13:58 +0000 (17:13 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 1 Nov 2023 15:34:52 +0000 (08:34 -0700)
commitf19c3b4239f5bfb69aacbaf75d4277c095e7aa7d
treeb4295a63b6262cdbae7b6958d67fd2b20e70f060
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
riscv: remove unused functions in traps_misaligned.c

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>
arch/riscv/kernel/traps_misaligned.c