From: Changlong Xie Date: Wed, 20 Mar 2013 00:42:04 +0000 (+0800) Subject: tty: tty_vhangup_session can be static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=44a459fd83376d08b0dea776354761ebb1bacde1;p=linux-beck.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 6afca98fae21..cbf5a5040908 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];