Files
android_kernel_xiaomi_sm8450/drivers/tty
Peter Hurley fdfb719e93 tty: Remove chars_in_buffer() line discipline method
The chars_in_buffer() line discipline method serves no functional
purpose, other than as a (dubious) debugging aid for mostly bit-rotting
drivers. Despite being documented as an optional method, every caller
is unconditionally executed (although conditionally compiled).
Furthermore, direct tty->ldisc access without an ldisc ref is unsafe.
Lastly, N_TTY's chars_in_buffer() has warned of removal since 3.12.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-01-27 15:01:44 -08:00
..
2015-03-31 12:04:13 +02:00
2015-05-10 19:26:37 +02:00
2016-01-27 14:28:20 -08:00
2015-10-17 21:14:06 -07:00
2015-11-20 16:19:54 -08:00
2015-12-12 23:05:28 -08:00
2016-01-27 14:28:20 -08:00
2015-12-13 19:59:48 -08:00