| From | Peter Hurley <> | Subject | [PATCH v3 14/23] tty: Don't reenable already enabled ldisc | Date | Tue, 5 Feb 2013 15:20:29 -0500 |
| |
tty_ldisc_hangup() guarantees the ldisc is enabled (or that there is no ldisc).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com> --- drivers/tty/tty_io.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 7cb46d8..246a9b2 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -666,7 +666,6 @@ static void __tty_hangup(struct tty_struct *tty) */ set_bit(TTY_HUPPED, &tty->flags); clear_bit(TTY_HUPPING, &tty->flags); - tty_ldisc_enable(tty); tty_unlock(tty); -- 1.8.1.2
|