tty: clean up legacy leftovers from n_tty line discipline
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 19 Jan 2021 21:46:28 +0000 (13:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2021 00:48:48 +0000 (16:48 -0800)
commit64a69892afadd6fffaeadc65427bb7601161139d
tree56c96cc383a638f4eb93dca4a5c6764b32414252
parentdd78b0c483e33225e0e0782b0ed887129b00f956
tty: clean up legacy leftovers from n_tty line discipline

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: Linus Torvalds <torvalds@linux-foundation.org>
drivers/tty/n_tty.c