From: Alexey Dobriyan Date: Wed, 20 Sep 2006 19:02:44 +0000 (-0700) Subject: [NETFILTER]: xt_policy: remove dups in .family X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=71cd83a8bde61612b277fd5bf91503ac1ad61e23;p=deliverable%2Flinux.git [NETFILTER]: xt_policy: remove dups in .family sparse "defined twice" warning Signed-off-by: Alexey Dobriyan Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/netfilter/xt_policy.c b/net/netfilter/xt_policy.c index e9d81378d653..46bde2b1e1e0 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, }, };