mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
tty: Remove ASYNC_CLOSING
The tty core no longer provides nor uses ASYNC_CLOSING; remove from tty_port_close_start() and tty_port_close_end() as well as tty drivers which open-code these state changes. Unfortunately, even though the bit is masked from userspace, its inclusion in a uapi header precludes removing the macro. Cc: Martin Schwidefsky <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: [email protected] Cc: Mikael Starvik <[email protected]> Cc: Jesper Nilsson <[email protected]> Cc: [email protected] Cc: Samuel Ortiz <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
a657eecd02
commit
afc5ab0965
7 changed files with 5 additions and 14 deletions
|
|
@ -1267,10 +1267,6 @@ static void ircomm_tty_line_info(struct ircomm_tty_cb *self, struct seq_file *m)
|
|||
seq_printf(m, "%cASYNC_LOW_LATENCY", sep);
|
||||
sep = '|';
|
||||
}
|
||||
if (self->port.flags & ASYNC_CLOSING) {
|
||||
seq_printf(m, "%cASYNC_CLOSING", sep);
|
||||
sep = '|';
|
||||
}
|
||||
if (self->port.flags & ASYNC_NORMAL_ACTIVE) {
|
||||
seq_printf(m, "%cASYNC_NORMAL_ACTIVE", sep);
|
||||
sep = '|';
|
||||
|
|
|
|||
Loading…
Reference in a new issue