Commit 05de87ed authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

tty: Re-declare tty_driver_remove_tty() file scope

tty_driver_remove_tty() is only local-scope; declare as static.
Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a3123fd0
...@@ -1437,7 +1437,7 @@ static int tty_driver_install_tty(struct tty_driver *driver, ...@@ -1437,7 +1437,7 @@ static int tty_driver_install_tty(struct tty_driver *driver,
* *
* Locking: tty_mutex for now * Locking: tty_mutex for now
*/ */
void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) static void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty)
{ {
if (driver->ops->remove) if (driver->ops->remove)
driver->ops->remove(driver, tty); driver->ops->remove(driver, tty);
......
...@@ -446,8 +446,6 @@ extern void tty_unthrottle(struct tty_struct *tty); ...@@ -446,8 +446,6 @@ extern void tty_unthrottle(struct tty_struct *tty);
extern int tty_throttle_safe(struct tty_struct *tty); extern int tty_throttle_safe(struct tty_struct *tty);
extern int tty_unthrottle_safe(struct tty_struct *tty); extern int tty_unthrottle_safe(struct tty_struct *tty);
extern int tty_do_resize(struct tty_struct *tty, struct winsize *ws); extern int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
extern void tty_driver_remove_tty(struct tty_driver *driver,
struct tty_struct *tty);
extern int is_current_pgrp_orphaned(void); extern int is_current_pgrp_orphaned(void);
extern int is_ignored(int sig); extern int is_ignored(int sig);
extern int tty_signal(int sig, struct tty_struct *tty); extern int tty_signal(int sig, struct tty_struct *tty);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment