2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00

[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,
.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,
},
};