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:
committed by
Greg Kroah-Hartman
parent
0d3b88d187
commit
44a459fd83
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user