2013-10-23 10:36:26

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] netfilter: ipset: remove duplicate define

This patch removes a duplicate define from
net/netfilter/ipset/ip_set_hash_gen.h

Signed-off-by: Michael Opdenacker <[email protected]>
---
net/netfilter/ipset/ip_set_hash_gen.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/netfilter/ipset/ip_set_hash_gen.h b/net/netfilter/ipset/ip_set_hash_gen.h
index 707bc52..b37a65f 100644
--- a/net/netfilter/ipset/ip_set_hash_gen.h
+++ b/net/netfilter/ipset/ip_set_hash_gen.h
@@ -243,7 +243,6 @@ hbucket_elem_add(struct hbucket *n, u8 ahash_max, size_t dsize)
#define mtype_uadt TOKEN(MTYPE, _uadt)
#define mtype MTYPE

-#define mtype_elem TOKEN(MTYPE, _elem)
#define mtype_add TOKEN(MTYPE, _add)
#define mtype_del TOKEN(MTYPE, _del)
#define mtype_test_cidrs TOKEN(MTYPE, _test_cidrs)
--
1.8.1.2


2013-10-27 18:07:56

by Jozsef Kadlecsik

[permalink] [raw]
Subject: Re: [PATCH] netfilter: ipset: remove duplicate define

On Wed, 23 Oct 2013, Michael Opdenacker wrote:

> This patch removes a duplicate define from
> net/netfilter/ipset/ip_set_hash_gen.h
>
> Signed-off-by: Michael Opdenacker <[email protected]>

Patch is applied to the ipset git tree, thanks.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected]
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
H-1525 Budapest 114, POB. 49, Hungary