diff options
author | Peter Hurley | 2014-10-16 20:59:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-11-06 01:26:13 +0100 |
commit | 8f166e00196fcb16364c9c39dab6fe7b72e63f18 (patch) | |
tree | ae7ee526ab47f6daecc4ff3a4173bfc71a6082c5 /include/linux/tty.h | |
parent | tty: serial: 8250_core: restore the LCR register in set_sleep (diff) | |
download | kernel-qcow2-linux-8f166e00196fcb16364c9c39dab6fe7b72e63f18.tar.gz kernel-qcow2-linux-8f166e00196fcb16364c9c39dab6fe7b72e63f18.tar.xz kernel-qcow2-linux-8f166e00196fcb16364c9c39dab6fe7b72e63f18.zip |
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>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 5171ef8f7b85..b36b0b445c1f 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -498,9 +498,6 @@ extern int tty_init_termios(struct tty_struct *tty); extern int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty); -extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); -extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty); - extern struct mutex tty_mutex; extern spinlock_t tty_files_lock; |