Skip to content

Commit

Permalink
[NETFILTER]: xt_policy: remove dups in .family
Browse files Browse the repository at this point in the history
sparse "defined twice" warning

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Sep 22, 2006
1 parent 7cf7393 commit 71cd83a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/netfilter/xt_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand All @@ -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,
},
};
Expand Down

0 comments on commit 71cd83a

Please sign in to comment.