From: Jes Sorensen <jes@sgi.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>, Mike Shaver <shaver@mozilla.org>,
linux-kernel@vger.kernel.org
Subject: [patch] eliminte unused /proc/sys/net/ethernet
Date: 29 May 2006 08:03:35 -0400 [thread overview]
Message-ID: <yq0r72dt4vc.fsf@jaguar.mkp.net> (raw)
Hi,
Given that /proc/sys/net/ethernet is > 10 years old and empty - maybe
we should just nuke it off the face of the planet?
Cheers,
Jes
The /proc/sys/net/ehternet directory has been sitting empty
for more than 10 years - eliminate it!
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
net/ethernet/sysctl_net_ether.c | 14 --------------
net/sysctl_net.c | 8 --------
2 files changed, 22 deletions(-)
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 <linux/mm.h>
-#include <linux/sysctl.h>
-#include <linux/if_ether.h>
-
-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,
next reply other threads:[~2006-05-29 12:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-29 12:03 Jes Sorensen [this message]
2006-05-29 12:10 ` Jes Sorensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq0r72dt4vc.fsf@jaguar.mkp.net \
--to=jes@sgi.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shaver@mozilla.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®