summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorChanglong Xie <changlongx.xie@intel.com>2013-03-20 08:42:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 14:07:34 -0700
commit44a459fd83376d08b0dea776354761ebb1bacde1 (patch)
tree4e835e1362210d5c40f2f5c6cf7a1191407dfa83 /drivers/tty/tty_io.c
parent0d3b88d187d02c910fce62ee4d14fb29617f21ba (diff)
downloadop-kernel-dev-44a459fd83376d08b0dea776354761ebb1bacde1.zip
op-kernel-dev-44a459fd83376d08b0dea776354761ebb1bacde1.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index 6afca98f..cbf5a50 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -777,7 +777,7 @@ void tty_vhangup_self(void)
* is complete. That guarantee is necessary for security reasons.
*/
-void tty_vhangup_session(struct tty_struct *tty)
+static void tty_vhangup_session(struct tty_struct *tty)
{
#ifdef TTY_DEBUG_HANGUP
char buf[64];
OpenPOWER on IntegriCloud