diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-08 15:51:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-15 11:28:30 +0300 |
commit | dd9f611442578ca8392e90adbca5815d79946b5e (patch) | |
tree | 4d4aced9bbe284504f4fb070d891effe95f8e4dc /include/linux/tty.h | |
parent | 6c80c0b94b94192d9a34b400f8237703c6475f4d (diff) | |
download | linux-dd9f611442578ca8392e90adbca5815d79946b5e.tar.xz |
tty: make tty_release_redirect() static
No one calls this outside of the tty_io.c file, so mark this static and
do not export the symbol anymore.
Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20210408125134.3016837-11-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 031e7e4b5c97..23e5028ab52d 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -396,7 +396,6 @@ extern struct tty_struct *tty_kopen_shared(dev_t device); extern void tty_kclose(struct tty_struct *tty); extern int tty_dev_name_to_number(const char *name, dev_t *number); extern ssize_t redirected_tty_write(struct kiocb *, struct iov_iter *); -extern struct file *tty_release_redirect(struct tty_struct *tty); #else static inline void tty_kref_put(struct tty_struct *tty) { } |