]> 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)
commit254345f33d59457058b4de101f91e44916646311
treeebc21baf6f760938a69d08f1b38edc5dc5cfb418
parentb24f5c832f46ea1559a0cc65333ecbae14ab20cf
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