tty: Remove tty_pair_get_tty()/tty_pair_get_pty() api
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 16 Oct 2014 18:59:41 +0000 (14:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 00:26:13 +0000 (16:26 -0800)
commit8f166e00196fcb16364c9c39dab6fe7b72e63f18
treeae7ee526ab47f6daecc4ff3a4173bfc71a6082c5
parentedf4edacb331caf326a2e0f15d81c549bd9bede7
tty: Remove tty_pair_get_tty()/tty_pair_get_pty() api

tty_pair_get_pty() has no in-tree users and tty_pair_get_tty()
has only one file-local user. Remove the external declarations,
the export declarations, and declare tty_pair_get_tty() static.

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/tty.h