]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Remove redundant err variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 12 Jan 2022 08:27:29 +0000 (08:27 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 20 Jan 2022 18:24:12 +0000 (10:24 -0800)
commit6d7cc9f700eabe58af697026bfd429e189cee24e
treefe09eba8848645d0ccf7ec5e2997fb8619fd81ee
parent5152fccff2afb2a6475b1efb96109cff5644972a
RISC-V: Remove redundant err variable

Return value from user_regset_copyin() directly instead of taking this
in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/ptrace.c