[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>
This commit is contained in:
Alexey Dobriyan 2006-09-20 12:02:44 -07:00 committed by David S. Miller
parent 7cf73936fe
commit 71cd83a8bd

View file

@ -171,7 +171,6 @@ static struct xt_match xt_policy_match[] = {
.checkentry = checkentry, .checkentry = checkentry,
.match = match, .match = match,
.matchsize = sizeof(struct xt_policy_info), .matchsize = sizeof(struct xt_policy_info),
.family = AF_INET,
.me = THIS_MODULE, .me = THIS_MODULE,
}, },
{ {
@ -180,7 +179,6 @@ static struct xt_match xt_policy_match[] = {
.checkentry = checkentry, .checkentry = checkentry,
.match = match, .match = match,
.matchsize = sizeof(struct xt_policy_info), .matchsize = sizeof(struct xt_policy_info),
.family = AF_INET6,
.me = THIS_MODULE, .me = THIS_MODULE,
}, },
}; };