[PATCH] Char: serial167, remove useless tty check
authorJiri Slaby <jirislaby@gmail.com>
Wed, 4 Oct 2006 09:15:28 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:13 +0000 (07:55 -0700)
commitd321765f7cbc2dc0683374c91bb3720d57331d37
tree2f280c34d93a6be0c866da4cbb9daeb6004e38d7
parentb3218a79aa3d58b975b066c300153a8520f7051c
[PATCH] Char: serial167, remove useless tty check

serial167, remove useless tty check

tty is dereferenced before it is checked to be non-NULL.  Remove such
check.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/serial167.c