提交 71cd83a8 编写于 作者: A Alexey Dobriyan 提交者: David S. Miller

[NETFILTER]: xt_policy: remove dups in .family

sparse "defined twice" warning
Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7cf73936
......@@ -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,
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册