]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: synclink, remove superfluous check
authorJiri Slaby <jslaby@suse.cz>
Thu, 7 Mar 2013 12:12:26 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:17:20 +0000 (16:17 -0700)
commitda3f0ee56e9d3deb8d7a783d7413a3ba364115c4
treef8b2a64d4e491c3ed034041a84c888addc6e9c01
parent4b8f23df4b9b41506d61a08cc369ad43022e6361
TTY: synclink, remove superfluous check

info is obtained by container_of. It can never be NULL. So do not test
that.

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