Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750723AbWE2MKJ (ORCPT ); Mon, 29 May 2006 08:10:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750716AbWE2MKJ (ORCPT ); Mon, 29 May 2006 08:10:09 -0400 Received: from vanessarodrigues.com ([192.139.46.150]:5357 "EHLO jaguar.mkp.net") by vger.kernel.org with ESMTP id S1750714AbWE2MKH (ORCPT ); Mon, 29 May 2006 08:10:07 -0400 To: Linus Torvalds Cc: Andrew Morton , Mike Shaver , linux-kernel@vger.kernel.org Subject: Re: [patch] eliminte unused /proc/sys/net/ethernet References: From: Jes Sorensen Date: 29 May 2006 08:10:06 -0400 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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 Content-Length: 2132 Lines: 71 >>>>> "Jes" == Jes Sorensen writes: Jes> Hi, Given that /proc/sys/net/ethernet is > 10 years old and empty Jes> - maybe we should just nuke it off the face of the planet? DOH! Forgot to remove it from the Makefile ... here we go again. Jes The /proc/sys/net/ehternet directory has been sitting empty for more than 10 years! Time to eliminate it! Signed-off-by: Jes Sorensen --- net/ethernet/Makefile | 1 - net/ethernet/sysctl_net_ether.c | 14 -------------- net/sysctl_net.c | 8 -------- 3 files changed, 23 deletions(-) Index: linux-2.6/net/ethernet/Makefile =================================================================== --- linux-2.6.orig/net/ethernet/Makefile +++ linux-2.6/net/ethernet/Makefile @@ -3,6 +3,5 @@ # obj-y += eth.o -obj-$(CONFIG_SYSCTL) += sysctl_net_ether.o obj-$(subst m,y,$(CONFIG_IPX)) += pe2.o obj-$(subst m,y,$(CONFIG_ATALK)) += pe2.o Index: linux-2.6/net/ethernet/sysctl_net_ether.c =================================================================== --- linux-2.6.orig/net/ethernet/sysctl_net_ether.c +++ /dev/null @@ -1,14 +0,0 @@ -/* -*- linux-c -*- - * sysctl_net_ether.c: sysctl interface to net Ethernet subsystem. - * - * Begun April 1, 1996, Mike Shaver. - * Added /proc/sys/net/ether directory entry (empty =) ). [MS] - */ - -#include -#include -#include - -ctl_table ether_table[] = { - {0} -}; Index: linux-2.6/net/sysctl_net.c =================================================================== --- linux-2.6.orig/net/sysctl_net.c +++ linux-2.6/net/sysctl_net.c @@ -37,14 +37,6 @@ .mode = 0555, .child = core_table, }, -#ifdef CONFIG_NET - { - .ctl_name = NET_ETHER, - .procname = "ethernet", - .mode = 0555, - .child = ether_table, - }, -#endif #ifdef CONFIG_INET { .ctl_name = NET_IPV4, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/