n_tty: make n_tty_receive_char_special return void
authorJiri Slaby <jslaby@suse.cz>
Wed, 5 May 2021 09:19:00 +0000 (11:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:57:16 +0000 (16:57 +0200)
commit16765365a062f6d25d087cdd0fca3e01c9a03403
tree9b2b2357f0d8897151426f73920bc9c97f889ff3
parent67a620d58b47b6683da7f8152baa4384f74b19f8
n_tty: make n_tty_receive_char_special return void

After the previous patch, noone cares about the return value of
n_tty_receive_char_special. ldata->lnext is checked instead.

So switch return type of n_tty_receive_char_special to void.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210505091928.22010-8-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c