From: Eric W. Biederman Date: Tue, 8 May 2007 07:26:51 +0000 (-0700) Subject: tty: remove unnecessary export of proc_clear_tty X-Git-Tag: v2.6.22-rc1~727 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f67c3627b4abd8a3cf56bd20cafde702feffe236;p=linux-2.6 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 --- 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) {