TTY: simplify tty_driver_lookup_tty a bit
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:51:53 +0000 (14:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 19:38:50 +0000 (11:38 -0800)
commitd4834267e81c8f08685e6ee55751551fa60f66e3
tree27f1e4527611045f501f0d1a22dd8a1c958bc80c
parent2f16669d322e05171c9e1cfd94f402f7399bd2a3
TTY: simplify tty_driver_lookup_tty a bit

Remove the useless local variable and return the value itself.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c