From: Changlong Xie Date: Wed, 20 Mar 2013 00:42:04 +0000 (+0800) Subject: tty: tty_vhangup_session can be static X-Git-Tag: v3.10-rc1~191^2~40 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=44a459fd83376d08b0dea776354761ebb1bacde1;p=~emulex%2Finfiniband.git tty: tty_vhangup_session can be static Reported-by: Fengguang Wu Acked-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 6afca98fae2..cbf5a504090 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];