Skip to content

Commit

Permalink
mpls: rtm_mpls_policy[] can be static
Browse files Browse the repository at this point in the history
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Wu Fengguang authored and David S. Miller committed Mar 4, 2015
1 parent c473463 commit f012653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mpls/af_mpls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
};
Expand Down

0 comments on commit f012653

Please sign in to comment.