Commit 44a459fd authored by Changlong Xie's avatar Changlong Xie Committed by Greg Kroah-Hartman

tty: tty_vhangup_session can be static

Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Acked-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0d3b88d1
...@@ -777,7 +777,7 @@ void tty_vhangup_self(void) ...@@ -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];
......
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