tty: Move session_of_pgrp() and make static
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 16 Oct 2014 18:59:48 +0000 (14:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 00:26:14 +0000 (16:26 -0800)
commite1c2296c3485158304bfad5a80e89078463d70c8
tree98103d2003b9b478c60b8a546e4917880e2150e3
parent2c411c11020ff356748268ca9cae4c1b4c410f00
tty: Move session_of_pgrp() and make static

tiocspgrp() is the lone caller of session_of_pgrp(); relocate and
limit to file scope.

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