Commit 7fa6befa authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Hongchen Zhang
Browse files

LoongArch: Make compute_return_era() return void

mainline inclusion
from mainline-v5.19-rc4
commit ea18d434
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5OHOB


CVE: NA

--------------------------------

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: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent f9bfb3da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment