Skip to content

Commit

Permalink
[NET]: Remove the empty net_table
Browse files Browse the repository at this point in the history
I have removed all the entries from this table (core_table,
ipv4_table and tr_table), so now we can safely drop it.

Signed-off-by: Pavel Emelyanov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
xemul authored and davem330 committed Jan 28, 2008
1 parent 36f0beb commit 0891368
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion include/linux/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ static const struct proto_ops name##_ops = { \

#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
extern ctl_table net_table[];
extern int net_msg_cost;
extern int net_msg_burst;
#endif
Expand Down
8 changes: 0 additions & 8 deletions kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,6 @@ static struct ctl_table root_table[] = {
.mode = 0555,
.child = vm_table,
},
#ifdef CONFIG_NET
{
.ctl_name = CTL_NET,
.procname = "net",
.mode = 0555,
.child = net_table,
},
#endif
{
.ctl_name = CTL_FS,
.procname = "fs",
Expand Down
4 changes: 0 additions & 4 deletions net/sysctl_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
#include <linux/if_tr.h>
#endif

struct ctl_table net_table[] = {
{ 0 },
};

static struct list_head *
net_ctl_header_lookup(struct ctl_table_root *root, struct nsproxy *namespaces)
{
Expand Down

0 comments on commit 0891368

Please sign in to comment.