Explorar o código

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>
Changlong Xie %!s(int64=12) %!d(string=hai) anos
pai
achega
44a459fd83
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/tty/tty_io.c

+ 1 - 1
drivers/tty/tty_io.c

@@ -777,7 +777,7 @@ void tty_vhangup_self(void)
  *	is complete. That guarantee is necessary for security reasons.
  *	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
 #ifdef TTY_DEBUG_HANGUP
 	char	buf[64];
 	char	buf[64];