Skip to content

Commit

Permalink
tty: tty_vhangup_session can be static
Browse files Browse the repository at this point in the history
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Peter Hurley <peter@hurleysoftware.com>

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Changlong Xie authored and Greg Kroah-Hartman committed Mar 25, 2013
1 parent 0d3b88d commit 44a459f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 44a459f

Please sign in to comment.