[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:
parent
7cf73936fe
commit
71cd83a8bd
1 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue