summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-03-27 05:54:47 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2021-03-31 23:34:11 +0300
commit5c701e71961af0ec8227ea615f1646dbe98aea1a (patch)
tree10a41ea3ecb4ff257f818962bc758984eb026795 /include
parentc520292f29b8047285bcfbc2322fa2a9bf02521a (diff)
downloadlinux-5c701e71961af0ec8227ea615f1646dbe98aea1a.tar.xz
netfilter: ipset: Remove duplicate declaration
struct ip_set is declared twice. One is declared at 79th line, so remove the duplicate. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Acked-by: Jozsef Kadlecsik <kadlec@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/ipset/ip_set.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netfilter/ipset/ip_set.h b/include/linux/netfilter/ipset/ip_set.h
index 46d9a0c26c67..10279c4830ac 100644
--- a/include/linux/netfilter/ipset/ip_set.h
+++ b/include/linux/netfilter/ipset/ip_set.h
@@ -124,8 +124,6 @@ struct ip_set_ext {
bool target;
};
-struct ip_set;
-
#define ext_timeout(e, s) \
((unsigned long *)(((void *)(e)) + (s)->offset[IPSET_EXT_ID_TIMEOUT]))
#define ext_counter(e, s) \