aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-09-20 12:02:44 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:19:56 -0700
commit71cd83a8bde61612b277fd5bf91503ac1ad61e23 (patch)
tree77d425753349dbc3e0cf4e34e3065b5a3dcc4a75 /net
parent7cf73936fe6bb9b027b75fd8fa3c634fe74843d3 (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>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/xt_policy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/xt_policy.c b/net/netfilter/xt_policy.c
index e9d81378d65..46bde2b1e1e 100644
--- a/net/netfilter/xt_policy.c
+++ b/net/netfilter/xt_policy.c
@@ -171,7 +171,6 @@ static struct xt_match xt_policy_match[] = {
.checkentry = checkentry,
.match = match,
.matchsize = sizeof(struct xt_policy_info),
- .family = AF_INET,
.me = THIS_MODULE,
},
{
@@ -180,7 +179,6 @@ static struct xt_match xt_policy_match[] = {
.checkentry = checkentry,
.match = match,
.matchsize = sizeof(struct xt_policy_info),
- .family = AF_INET6,
.me = THIS_MODULE,
},
};