Commit f0126539 authored by Wu Fengguang's avatar Wu Fengguang Committed by David S. Miller

mpls: rtm_mpls_policy[] can be static

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment