tty: remove flags from struct tty_ldisc_ops
authorJiri Slaby <jslaby@suse.cz>
Tue, 14 Sep 2021 09:11:20 +0000 (11:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 14:59:13 +0000 (16:59 +0200)
commitb468e688240b58ece498c430c377bb81b78a41f1
treeb489399895683d1db2fe6301b32e15327771e800
parent4586c5fc4590662be906cfb06deabdfffcaec293
tty: remove flags from struct tty_ldisc_ops

The last user was apparently removed by commit a352def21a64 (tty: Ldisc
revamp) in 2008. So remove the field completely, the only setter
(n_tty_inherit_ops) and also its only possible value
(LDISC_FLAG_DEFINED).

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