提交 f0126539 编写于 作者: W Wu Fengguang 提交者: David S. Miller

mpls: rtm_mpls_policy[] can be static

Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c473463c
......@@ -216,7 +216,7 @@ static struct packet_type mpls_packet_type __read_mostly = {
.func = mpls_forward,
};
const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
static const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
[RTA_DST] = { .type = NLA_U32 },
[RTA_OIF] = { .type = NLA_U32 },
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册