Revert "TTY: call tty_driver_lookup_tty unconditionally"
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 19 Oct 2011 15:33:21 +0000 (08:33 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 19 Oct 2011 15:33:21 +0000 (08:33 -0700)
This reverts commit 631180aca723cb92e128fdac5fd144e913ca84e5.

It caused problems when /dev/tty is a pty:
https://lkml.org/lkml/2011/10/12/401

Cc: Jiri Slaby <jslaby@suse.cz>
Cc: stable <stable@vger.kernel.org>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found