]> git.baikalelectronics.ru Git - kernel.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)
commitc1bb224d962d38e0c10c76364ab0a916cb40fdd3
tree3956797efb1bad7ccd13e9d6351c1eb9a323d59a
parentc825ff5197b7f03e48ce5c039b25dc899fcf7d17
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