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>
This commit is contained in:
parent
0d3b88d187
commit
44a459fd83
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user