From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932268AbWF2TUX (ORCPT ); Thu, 29 Jun 2006 15:20:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932270AbWF2TUX (ORCPT ); Thu, 29 Jun 2006 15:20:23 -0400 Received: from [141.84.69.5] ([141.84.69.5]:23312 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S932268AbWF2TUW (ORCPT ); Thu, 29 Jun 2006 15:20:22 -0400 Date: Thu, 29 Jun 2006 21:19:40 +0200 From: Adrian Bunk To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: [RFC: 2.6 patch] kernel/sys.c: remove unused exports Message-ID: <20060629191940.GL19712@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11+cvs20060403 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This patch removes the following unused exports: - EXPORT_SYMBOL: - in_egroup_p - EXPORT_SYMBOL_GPL's: - kernel_restart - kernel_halt Signed-off-by: Adrian Bunk --- @Andrew: If anyone is considered maintainer of this code, please tell me who it is so that I can send this patch to him instead of you. This patch was already sent on: - 23 Jun 2006 - 16 May 2006 kernel/sys.c | 5 ----- 1 file changed, 5 deletions(-) --- linux-2.6.17-rc4-mm1-full/kernel/sys.c.old 2006-05-16 14:20:27.000000000 +0200 +++ linux-2.6.17-rc4-mm1-full/kernel/sys.c 2006-05-16 14:20:47.000000000 +0200 @@ -615,7 +615,6 @@ printk(".\n"); machine_restart(cmd); } -EXPORT_SYMBOL_GPL(kernel_restart); /** * kernel_kexec - reboot the system @@ -657,8 +656,6 @@ machine_halt(); } -EXPORT_SYMBOL_GPL(kernel_halt); - /** * kernel_power_off - power_off the system * @@ -1665,8 +1662,6 @@ return retval; } -EXPORT_SYMBOL(in_egroup_p); - DECLARE_RWSEM(uts_sem); EXPORT_SYMBOL(uts_sem);