From: Jiri Slaby Date: Mon, 2 Apr 2012 11:54:06 +0000 (+0200) Subject: TTY: hso, remove tty NULL checks fro tty->ops X-Git-Tag: v3.5-rc1~146^2~30^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30409420d2e181215745fdc7052446b439e0221f;p=pandora-kernel.git 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 Cc: Jan Dumon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed