From: Eric W. Biederman 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 --- drivers/char/tty_io.c | 1 - 1 file changed, 1 deletion(-) diff -puN drivers/char/tty_io.c~tty-remove-unnecessary-export-of-proc_clear_tty drivers/char/tty_io.c --- a/drivers/char/tty_io.c~tty-remove-unnecessary-export-of-proc_clear_tty +++ a/drivers/char/tty_io.c @@ -3835,7 +3835,6 @@ void proc_clear_tty(struct task_struct * 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) { _