]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Replace open-coded test with tty_hung_up_p()
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 17:26:24 +0000 (12:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 04:18:30 +0000 (20:18 -0800)
commit6a214691f0e30805b6221e91f99b87ebdbf3e5fb
tree795c3eeded585f0753f891184efe16fca8e51274
parent4dd34910071f64809784ada9bf44e4171b2527f4
tty: Replace open-coded test with tty_hung_up_p()

tty_hung_up_p() is equivalent to the open-coded test in tty_open().

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