diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-04-19 09:45:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-20 21:22:30 -0400 |
commit | a5347fe36b313c07d59b065d00a8fa56362c5f97 (patch) | |
tree | 8778711b514baca6f5686777c0dea245a8874711 /net/netfilter | |
parent | ec8f23ce0f4005b74013d4d122e0d540397a93c9 (diff) |
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/netfilter')
-rw-r--r-- | net/netfilter/core.c | 9 | ||||
-rw-r--r-- | net/netfilter/ipvs/ip_vs_ctl.c | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/net/netfilter/core.c b/net/netfilter/core.c index e1b7e051332..e19f3653db2 100644 --- a/net/netfilter/core.c +++ b/net/netfilter/core.c | |||
@@ -290,12 +290,3 @@ void __init netfilter_init(void) | |||
290 | if (netfilter_log_init() < 0) | 290 | if (netfilter_log_init() < 0) |
291 | panic("cannot initialize nf_log"); | 291 | panic("cannot initialize nf_log"); |
292 | } | 292 | } |
293 | |||
294 | #ifdef CONFIG_SYSCTL | ||
295 | struct ctl_path nf_net_netfilter_sysctl_path[] = { | ||
296 | { .procname = "net", }, | ||
297 | { .procname = "netfilter", }, | ||
298 | { } | ||
299 | }; | ||
300 | EXPORT_SYMBOL_GPL(nf_net_netfilter_sysctl_path); | ||
301 | #endif /* CONFIG_SYSCTL */ | ||
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index a606d6b1b0e..e3707d2bd9c 100644 --- a/net/netfilter/ipvs/ip_vs_ctl.c +++ b/net/netfilter/ipvs/ip_vs_ctl.c | |||
@@ -1846,13 +1846,6 @@ static struct ctl_table vs_vars[] = { | |||
1846 | { } | 1846 | { } |
1847 | }; | 1847 | }; |
1848 | 1848 | ||
1849 | const struct ctl_path net_vs_ctl_path[] = { | ||
1850 | { .procname = "net", }, | ||
1851 | { .procname = "ipv4", }, | ||
1852 | { .procname = "vs", }, | ||
1853 | { } | ||
1854 | }; | ||
1855 | EXPORT_SYMBOL_GPL(net_vs_ctl_path); | ||
1856 | #endif | 1849 | #endif |
1857 | 1850 | ||
1858 | #ifdef CONFIG_PROC_FS | 1851 | #ifdef CONFIG_PROC_FS |