diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-05 19:40:10 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-05 21:08:11 +0200 |
commit | 12202fa7573d32aa0915cde6e8fab4c86b63ca2c (patch) | |
tree | 027ddaaef131f68d73d06c20de694722cfb57e96 /include/linux/netfilter.h | |
parent | e817961048ecd12cf9cdfcec0062deb5f7970592 (diff) | |
download | lwn-12202fa7573d32aa0915cde6e8fab4c86b63ca2c.tar.gz lwn-12202fa7573d32aa0915cde6e8fab4c86b63ca2c.zip |
netfilter: remove unneeded variable proc_net_netfilter
Now that this supports net namespace for nflog and nfqueue,
we can remove the global proc_net_netfilter which has no
clients anymore.
Based on patch from Gao feng.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter.h')
-rw-r--r-- | include/linux/netfilter.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index ee142846f56a..0060fde3160e 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -289,11 +289,6 @@ nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) #endif } -#ifdef CONFIG_PROC_FS -#include <linux/proc_fs.h> -extern struct proc_dir_entry *proc_net_netfilter; -#endif - #else /* !CONFIG_NETFILTER */ #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) (okfn)(skb) #define NF_HOOK_COND(pf, hook, skb, indev, outdev, okfn, cond) (okfn)(skb) |