tty: remove broken r3964 line discipline
authorJiri Slaby <jslaby@suse.cz>
Wed, 5 May 2021 09:18:54 +0000 (11:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:57:15 +0000 (16:57 +0200)
commited5aecd3da2eabd8a6c9f5593df2c4f00985fca2
treee402dc88de61bbc0bd526700acb9799b28190604
parentd7e325aaa8c3593b5a572b583ecad79e95f32e7f
tty: remove broken r3964 line discipline

Noone stepped up in the past two years since it was marked as BROKEN by
commit c7084edc3f6d (tty: mark Siemens R3964 line discipline as BROKEN).
Remove the line discipline for good.

Three remarks:
* we remove also the uapi header (as noone is able to use that interface
  anyway)
* we do *not* remove the N_R3964 constant definition from tty.h, so it
  remains reserved.
* in_interrupt() check is now removed from vt's con_put_char. Noone else
  calls tty_operations::put_char from interrupt context.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210505091928.22010-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/configs/ppc6xx_defconfig
drivers/char/Kconfig
drivers/tty/Makefile
drivers/tty/n_r3964.c [deleted file]
drivers/tty/vt/vt.c
include/linux/n_r3964.h [deleted file]
include/uapi/linux/n_r3964.h [deleted file]