summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2026-06-07 05:17:54 +0300
committerPaul Walmsley <pjw@kernel.org>2026-06-07 08:48:14 +0300
commitedccaf7be062f3400cdadb45b0e2b4db4cdd8c26 (patch)
treee554b491caa48116178727130806ece41a7701db /include/linux
parent2b2b207e1162e577cd6208e184d3d3a0fcfa9cca (diff)
downloadlinux-edccaf7be062f3400cdadb45b0e2b4db4cdd8c26.tar.xz
riscv: cpu_ops_sbi: No need to be bothered to check ret.error
If the ret.error equals to 0, the sbi_err_map_linux_errno() can also handle it, i.e. if ret.error is SBI_SUCCESS, it will return 0 immediately, so no need to be bothered to check ret.error here. Signed-off-by: Hui Wang <hui.wang@canonical.com> Link: https://patch.msgid.link/20260413123515.48423-2-hui.wang@canonical.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions