tty: serial/crisv10.c: remove unnecessary null pointer check
authorCong Ding <dinggnu@gmail.com>
Wed, 16 Jan 2013 22:30:44 +0000 (23:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 01:20:10 +0000 (17:20 -0800)
commitf938f3781fa877146236042341ddbcf06bc49f0a
tree3ad23d0abdfe3a4b5f3b7aeb17299999facbe469
parent9ef20d52e0cd0d6ab78cab13563b16496bdc6995
tty: serial/crisv10.c: remove unnecessary null pointer check

The pointer tty is dereferened in line 3135, so it is not necessary to check
null again in line 3140.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/crisv10.c