tty: char: mxser, remove unnecessary tty test
authorJiri Slaby <jirislaby@gmail.com>
Wed, 9 Dec 2009 20:34:15 +0000 (12:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:43:12 +0000 (14:43 -0800)
commitf43a510de8af5748637de21c96f82232b24920e4
tree4b1bfa5c1bfbe79edea7ee3a50ef225de4a85972
parent2090436357c20afad377a61c789f502c36d637de
tty: char: mxser, remove unnecessary tty test

Stanse found unnecessary test in mxser_startup.

tty is dereferenced earlier, the test is superfluous. Remove it.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mxser.c