diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-04-19 13:45:29 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-21 01:22:30 (GMT) |
commit | a5347fe36b313c07d59b065d00a8fa56362c5f97 (patch) | |
tree | 8778711b514baca6f5686777c0dea245a8874711 /net/ipv4 | |
parent | ec8f23ce0f4005b74013d4d122e0d540397a93c9 (diff) | |
download | linux-a5347fe36b313c07d59b065d00a8fa56362c5f97.tar.xz |
net: Delete all remaining instances of ctl_path
We don't use struct ctl_path anymore so delete the exported constants.
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/ipv4')
-rw-r--r-- | net/ipv4/netfilter.c | 10 | ||||
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 7 |
2 files changed, 0 insertions, 17 deletions
diff --git a/net/ipv4/netfilter.c b/net/ipv4/netfilter.c index 3cd8c58..ed1b367 100644 --- a/net/ipv4/netfilter.c +++ b/net/ipv4/netfilter.c @@ -237,13 +237,3 @@ static void ipv4_netfilter_fini(void) module_init(ipv4_netfilter_init); module_exit(ipv4_netfilter_fini); - -#ifdef CONFIG_SYSCTL -struct ctl_path nf_net_ipv4_netfilter_sysctl_path[] = { - { .procname = "net", }, - { .procname = "ipv4", }, - { .procname = "netfilter", }, - { } -}; -EXPORT_SYMBOL_GPL(nf_net_ipv4_netfilter_sysctl_path); -#endif /* CONFIG_SYSCTL */ diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 56e64f7..33417f8 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -768,13 +768,6 @@ static struct ctl_table ipv4_net_table[] = { { } }; -struct ctl_path net_ipv4_ctl_path[] = { - { .procname = "net", }, - { .procname = "ipv4", }, - { }, -}; -EXPORT_SYMBOL_GPL(net_ipv4_ctl_path); - static __net_init int ipv4_sysctl_init_net(struct net *net) { struct ctl_table *table; |