diff options
author | Changlong Xie <changlongx.xie@intel.com> | 2013-03-19 20:42:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 17:07:34 -0400 |
commit | 44a459fd83376d08b0dea776354761ebb1bacde1 (patch) | |
tree | 4e835e1362210d5c40f2f5c6cf7a1191407dfa83 /drivers/tty/tty_io.c | |
parent | 0d3b88d187d02c910fce62ee4d14fb29617f21ba (diff) |
tty: tty_vhangup_session can be static
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r-- | drivers/tty/tty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 6afca98fae21..cbf5a5040908 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c | |||
@@ -777,7 +777,7 @@ void tty_vhangup_self(void) | |||
777 | * is complete. That guarantee is necessary for security reasons. | 777 | * is complete. That guarantee is necessary for security reasons. |
778 | */ | 778 | */ |
779 | 779 | ||
780 | void tty_vhangup_session(struct tty_struct *tty) | 780 | static void tty_vhangup_session(struct tty_struct *tty) |
781 | { | 781 | { |
782 | #ifdef TTY_DEBUG_HANGUP | 782 | #ifdef TTY_DEBUG_HANGUP |
783 | char buf[64]; | 783 | char buf[64]; |