TTY: hso, remove tty NULL checks fro tty->ops
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:06 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:18:36 +0000 (11:18 -0700)
commit30409420d2e181215745fdc7052446b439e0221f
tree76054f8c17d06434162e9a3614f31a8791cbd846
parent5ce76e77e0fde4a46bd230d0678099bd648b50d4
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>
drivers/net/usb/hso.c
This page took 0.02599 seconds and 5 git commands to generate.