Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08913681 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller
Browse files

[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: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 36f0bebd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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
+0 −8
Original line number Diff line number Diff line
@@ -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",
+0 −4
Original line number Diff line number Diff line
@@ -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)
{