tty: return void from tty_unregister_ldisc
authorJiri Slaby <jslaby@suse.cz>
Wed, 5 May 2021 09:19:12 +0000 (11:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:57:17 +0000 (16:57 +0200)
commitf6f19595a7efdaa0c196d7fa2b343b5588f94470
treeee75c99d5038640ca662eb4b1451b857e659b548
parent357a6a875f1c4772f2102639bf19619780889f31
tty: return void from tty_unregister_ldisc

Now that noone checks the return value of tty_unregister_ldisc, make the
function return 'void'.

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