]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
tty: tty_vhangup_session can be static
authorChanglong Xie <changlongx.xie@intel.com>
Wed, 20 Mar 2013 00:42:04 +0000 (08:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 21:07:34 +0000 (14:07 -0700)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c

index 6afca98fae21654e73a1275886ed7832cef0fe66..cbf5a5040908c62258447994204949759d79755d 100644 (file)
@@ -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];