-
由 Linus Torvalds 提交于
stable inclusion from stable-5.10.21 commit e761cd8a7853a69fcb01aea9e0cce1982ca2c264 bugzilla: 50609 -------------------------------- commit 64a69892 upstream. Back when the line disciplines did their own direct user accesses, they had to deal with the data copy possibly failing in the middle. Now that the user copy is done by the tty_io.c code, that failure case no longer exists. Remove the left-over error handling code that cannot trigger. Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
92d2336e