diff options
author | Minghao Chi <chi.minghao@zte.com.cn> | 2022-01-12 08:27:29 +0000 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-20 10:24:12 -0800 |
commit | 8da46c0f98a1a17bc8f6d324d82b4d26e1448869 (patch) | |
tree | fe09eba8848645d0ccf7ec5e2997fb8619fd81ee /drivers/usb/cdns3/cdns3-plat.c | |
parent | db3f02df1853acf4d678bcddb3f1eab23219b410 (diff) |
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions