tty: synclink: remove unneeded test
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 6 Apr 2016 10:44:04 +0000 (11:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commit423314337acde8ddda6324f0917b306642b3ef6c
treeb7a9fd6ee9f5664a776eb8b746cb11b562fd2cdd
parent76bbdcb35ebb0e9c5315c4b249cd883cca9e065d
tty: synclink: remove unneeded test

We reach this point of code after a test of 'info->port.tty->hw_stopped',
we do not need to test for 'info->port.tty' as it is obvious that
info->port.tty is not NULL now, we have already dereferenced it.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/synclink.c