From f67c3627b4abd8a3cf56bd20cafde702feffe236 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Tue, 8 May 2007 00:26:51 -0700 Subject: [PATCH] tty: remove unnecessary export of proc_clear_tty All of the users of proc_clear_tty are compiled into the kernel so exporting this symbol appears gratuitous. Signed-off-by: Eric W. Biederman Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/tty_io.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 730cbd209a..a7b915516d 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -3834,7 +3834,6 @@ void proc_clear_tty(struct task_struct *p) p->signal->tty = NULL; spin_unlock_irq(&p->sighand->siglock); } -EXPORT_SYMBOL(proc_clear_tty); static struct pid *__proc_set_tty(struct task_struct *tsk, struct tty_struct *tty) { -- 2.39.5