commit | 30409420d2e181215745fdc7052446b439e0221f | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Apr 02 13:54:06 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 09 11:18:36 2012 -0700 |
tree | 76054f8c17d06434162e9a3614f31a8791cbd846 | |
parent | 5ce76e77e0fde4a46bd230d0678099bd648b50d4 [diff] |
TTY: hso, remove tty NULL checks fro tty->ops tty is never NULL in tty->ops->* while the device is open. (And they are not called otherwise.) So remove pointless checks and use tty->driver_data directly. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Jan Dumon <j.dumon@option.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>