]> git.openfabrics.org - ~emulex/infiniband.git/commit
tty: Simplify tty_release_checks() interface
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 17:12:59 +0000 (12:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 02:43:27 +0000 (18:43 -0800)
commit359b9fb5c4f0d49f7062356f55073a169f36e29d
tree3956797efb1bad7ccd13e9d6351c1eb9a323d59a
parent62462aefeb5aff092fc97037d9c12a4afe95a3ff
tty: Simplify tty_release_checks() interface

Passing the 'other' tty to tty_release_checks() only makes sense
for a pty pair; make o_tty scope local instead.

Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c