Commit 6569a351da7e58d6f0fbc92fcf0bef5d4a4bc0a4

Authored by Jes Sorensen
Committed by David S. Miller
1 parent 92cd6eeea6

[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>

Showing 3 changed files with 0 additions and 23 deletions Side-by-side Diff

net/ethernet/Makefile
... ... @@ -3,7 +3,6 @@
3 3 #
4 4  
5 5 obj-y += eth.o
6   -obj-$(CONFIG_SYSCTL) += sysctl_net_ether.o
7 6 obj-$(subst m,y,$(CONFIG_IPX)) += pe2.o
8 7 obj-$(subst m,y,$(CONFIG_ATALK)) += pe2.o
net/ethernet/sysctl_net_ether.c
1   -/* -*- linux-c -*-
2   - * sysctl_net_ether.c: sysctl interface to net Ethernet subsystem.
3   - *
4   - * Begun April 1, 1996, Mike Shaver.
5   - * Added /proc/sys/net/ether directory entry (empty =) ). [MS]
6   - */
7   -
8   -#include <linux/mm.h>
9   -#include <linux/sysctl.h>
10   -#include <linux/if_ether.h>
11   -
12   -ctl_table ether_table[] = {
13   - {0}
14   -};
... ... @@ -37,14 +37,6 @@
37 37 .mode = 0555,
38 38 .child = core_table,
39 39 },
40   -#ifdef CONFIG_NET
41   - {
42   - .ctl_name = NET_ETHER,
43   - .procname = "ethernet",
44   - .mode = 0555,
45   - .child = ether_table,
46   - },
47   -#endif
48 40 #ifdef CONFIG_INET
49 41 {
50 42 .ctl_name = NET_IPV4,