[NET]: Remove the empty net_table
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 <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
36f0bebd98
commit
08913681e4
@@ -337,7 +337,6 @@ static const struct proto_ops name##_ops = { \
|
|||||||
|
|
||||||
#ifdef CONFIG_SYSCTL
|
#ifdef CONFIG_SYSCTL
|
||||||
#include <linux/sysctl.h>
|
#include <linux/sysctl.h>
|
||||||
extern ctl_table net_table[];
|
|
||||||
extern int net_msg_cost;
|
extern int net_msg_cost;
|
||||||
extern int net_msg_burst;
|
extern int net_msg_burst;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -200,14 +200,6 @@ static struct ctl_table root_table[] = {
|
|||||||
.mode = 0555,
|
.mode = 0555,
|
||||||
.child = vm_table,
|
.child = vm_table,
|
||||||
},
|
},
|
||||||
#ifdef CONFIG_NET
|
|
||||||
{
|
|
||||||
.ctl_name = CTL_NET,
|
|
||||||
.procname = "net",
|
|
||||||
.mode = 0555,
|
|
||||||
.child = net_table,
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
.ctl_name = CTL_FS,
|
.ctl_name = CTL_FS,
|
||||||
.procname = "fs",
|
.procname = "fs",
|
||||||
|
@@ -30,10 +30,6 @@
|
|||||||
#include <linux/if_tr.h>
|
#include <linux/if_tr.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct ctl_table net_table[] = {
|
|
||||||
{ 0 },
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct list_head *
|
static struct list_head *
|
||||||
net_ctl_header_lookup(struct ctl_table_root *root, struct nsproxy *namespaces)
|
net_ctl_header_lookup(struct ctl_table_root *root, struct nsproxy *namespaces)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user