]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Make compute_return_era() return void
authorTiezhu Yang <yangtiezhu@loongson.cn>
Sat, 18 Jun 2022 08:39:11 +0000 (16:39 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jun 2022 10:06:07 +0000 (18:06 +0800)
commit7f9505f9886925feea908dbf282e2efd5e3d11ec
treeebc21baf6f760938a69d08f1b38edc5dc5cfb418
parent24961a7ed4aec56422343ff82418df4cb87b899a
LoongArch: Make compute_return_era() return void

compute_return_era() always returns 0, make it return void,
and then no need to check its return value for its callers.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/branch.h
arch/loongarch/kernel/traps.c