diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-09-20 15:02:44 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:19:56 -0400 |
commit | 71cd83a8bde61612b277fd5bf91503ac1ad61e23 (patch) | |
tree | 77d425753349dbc3e0cf4e34e3065b5a3dcc4a75 | |
parent | 7cf73936fe6bb9b027b75fd8fa3c634fe74843d3 (diff) |
[NETFILTER]: xt_policy: remove dups in .family
sparse "defined twice" warning
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/netfilter/xt_policy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/xt_policy.c b/net/netfilter/xt_policy.c index e9d81378d653..46bde2b1e1e0 100644 --- a/net/netfilter/xt_policy.c +++ b/net/netfilter/xt_policy.c | |||
@@ -171,7 +171,6 @@ static struct xt_match xt_policy_match[] = { | |||
171 | .checkentry = checkentry, | 171 | .checkentry = checkentry, |
172 | .match = match, | 172 | .match = match, |
173 | .matchsize = sizeof(struct xt_policy_info), | 173 | .matchsize = sizeof(struct xt_policy_info), |
174 | .family = AF_INET, | ||
175 | .me = THIS_MODULE, | 174 | .me = THIS_MODULE, |
176 | }, | 175 | }, |
177 | { | 176 | { |
@@ -180,7 +179,6 @@ static struct xt_match xt_policy_match[] = { | |||
180 | .checkentry = checkentry, | 179 | .checkentry = checkentry, |
181 | .match = match, | 180 | .match = match, |
182 | .matchsize = sizeof(struct xt_policy_info), | 181 | .matchsize = sizeof(struct xt_policy_info), |
183 | .family = AF_INET6, | ||
184 | .me = THIS_MODULE, | 182 | .me = THIS_MODULE, |
185 | }, | 183 | }, |
186 | }; | 184 | }; |