riscv: __asm_copy_to-from_user: Remove unnecessary size check
authorAkira Tsukamoto <akira.tsukamoto@gmail.com>
Tue, 20 Jul 2021 08:52:36 +0000 (17:52 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 24 Jul 2021 00:49:07 +0000 (17:49 -0700)
commitd4b3e0105e3c2411af666a50b1bf2d25656a5e83
tree2c34904e6fcde2d513473c90b90f237510b13fbc
parent22b5f16ffeff38938ad7420a2bfa3c281c36fd17
riscv: __asm_copy_to-from_user: Remove unnecessary size check

Clean up:

The size of 0 will be evaluated in the next step. Not
required here.

Signed-off-by: Akira Tsukamoto <akira.tsukamoto@gmail.com>
Fixes: ca6eaaa210de ("riscv: __asm_copy_to-from_user: Optimize unaligned memory access and pipeline stall")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/lib/uaccess.S