Searched refs:old_ldisc (Results 1 – 1 of 1) sorted by relevance
544 struct tty_ldisc *old_ldisc, *new_ldisc; in tty_set_ldisc() local570 old_ldisc = tty->ldisc; in tty_set_ldisc()573 tty_ldisc_close(tty, old_ldisc); in tty_set_ldisc()583 tty_ldisc_restore(tty, old_ldisc); in tty_set_ldisc()586 if (tty->ldisc->ops->num != old_ldisc->ops->num && tty->ops->set_ldisc) { in tty_set_ldisc()599 new_ldisc = old_ldisc; in tty_set_ldisc()