aboutsummaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-04-19 09:46:06 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-20 21:22:30 -0400
commit5f568e5afe35721f2f692bccab243ba87cd8f87a (patch)
treecf768cf2fc95974f9228848722aa1afb8fd02a33 /net/sysctl_net.c
parenta5347fe36b313c07d59b065d00a8fa56362c5f97 (diff)
net: Remove register_net_sysctl_table
All of the users have been converted to use registera_net_sysctl so we no longer need register_net_sysctl. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
-rw-r--r--net/sysctl_net.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/sysctl_net.c b/net/sysctl_net.c
index 2b8d1d950987..f3e813a8d107 100644
--- a/net/sysctl_net.c
+++ b/net/sysctl_net.c
@@ -95,13 +95,6 @@ out:
95 return ret; 95 return ret;
96} 96}
97 97
98struct ctl_table_header *register_net_sysctl_table(struct net *net,
99 const struct ctl_path *path, struct ctl_table *table)
100{
101 return __register_sysctl_paths(&net->sysctls, path, table);
102}
103EXPORT_SYMBOL_GPL(register_net_sysctl_table);
104
105struct ctl_table_header *register_net_sysctl(struct net *net, 98struct ctl_table_header *register_net_sysctl(struct net *net,
106 const char *path, struct ctl_table *table) 99 const char *path, struct ctl_table *table)
107{ 100{