From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932883AbXCRS66 (ORCPT ); Sun, 18 Mar 2007 14:58:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932873AbXCRS66 (ORCPT ); Sun, 18 Mar 2007 14:58:58 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:46733 "EHLO ebiederm.dsl.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932883AbXCRS65 (ORCPT ); Sun, 18 Mar 2007 14:58:57 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Andrew Morton Cc: "Linux Kernel Mailing List" , "Catalin Marinas" , Peter Zijlstra Subject: [PATCH 1/4] tty: Remove unnecessary export of proc_clear_tty References: Date: Sun, 18 Mar 2007 12:57:27 -0600 In-Reply-To: (Eric W. Biederman's message of "Sun, 18 Mar 2007 12:52:24 -0600") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/char/tty_io.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 7a32df5..583730f 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -3837,7 +3837,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) { -- 1.5.0.g53756