[NET]: Eliminate unused /proc/sys/net/ethernet

The /proc/sys/net/ethernet directory has been sitting empty for more than
10 years!  Time to eliminate it!

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jes Sorensen 2006-06-05 15:34:11 -07:00 committed by David S. Miller
parent 92cd6eeea6
commit 6569a351da
3 changed files with 0 additions and 23 deletions

View file

@ -3,6 +3,5 @@
# #
obj-y += eth.o obj-y += eth.o
obj-$(CONFIG_SYSCTL) += sysctl_net_ether.o
obj-$(subst m,y,$(CONFIG_IPX)) += pe2.o obj-$(subst m,y,$(CONFIG_IPX)) += pe2.o
obj-$(subst m,y,$(CONFIG_ATALK)) += pe2.o obj-$(subst m,y,$(CONFIG_ATALK)) += pe2.o

View file

@ -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}
};

View file

@ -37,14 +37,6 @@ struct ctl_table net_table[] = {
.mode = 0555, .mode = 0555,
.child = core_table, .child = core_table,
}, },
#ifdef CONFIG_NET
{
.ctl_name = NET_ETHER,
.procname = "ethernet",
.mode = 0555,
.child = ether_table,
},
#endif
#ifdef CONFIG_INET #ifdef CONFIG_INET
{ {
.ctl_name = NET_IPV4, .ctl_name = NET_IPV4,