aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipset/ip_set_hash_mac.c
diff options
context:
space:
mode:
authorSergey Popovich <popovich_sergei@mail.ua>2015-05-02 19:28:06 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-05-13 13:25:46 +0200
commit43ef29c91a247e9e0cc4d4538c1d1f5b8ca728c1 (patch)
treee89744f0dc17b7bc5fa5d4cf593f49d9468d7407 /net/netfilter/ipset/ip_set_hash_mac.c
parentnetfilter: ipset: No need to make nomatch bitfield (diff)
downloadlinux-dev-43ef29c91a247e9e0cc4d4538c1d1f5b8ca728c1.tar.xz
linux-dev-43ef29c91a247e9e0cc4d4538c1d1f5b8ca728c1.zip
netfilter: ipset: Preprocessor directices cleanup
* Undefine mtype_data_reset_elem before defining. * Remove duplicated mtype_gc_init undefine, move mtype_gc_init define closer to mtype_gc define. * Use htype instead of HTYPE in IPSET_TOKEN(HTYPE, _create)(). * Remove PF definition from sets: no more used. Signed-off-by: Sergey Popovich <popovich_sergei@mail.ua> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipset/ip_set_hash_mac.c')
-rw-r--r--net/netfilter/ipset/ip_set_hash_mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netfilter/ipset/ip_set_hash_mac.c b/net/netfilter/ipset/ip_set_hash_mac.c
index 65690b52a4d5..2b96234212fa 100644
--- a/net/netfilter/ipset/ip_set_hash_mac.c
+++ b/net/netfilter/ipset/ip_set_hash_mac.c
@@ -62,7 +62,6 @@ hash_mac4_data_next(struct hash_mac4_elem *next,
}
#define MTYPE hash_mac4
-#define PF 4
#define HOST_MASK 32
#define IP_SET_EMIT_CREATE
#define IP_SET_PROTO_UNDEF