diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2015-03-04 22:33:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-04 22:39:45 +0100 |
commit | f0126539c73921776327e9d6bbf27e7e08ee0e3a (patch) | |
tree | dba9d1cc71eb27bdd649e5c65ccb69b0751c988b /net/mpls/af_mpls.c | |
parent | Merge branch 'be2net-next' (diff) | |
download | linux-f0126539c73921776327e9d6bbf27e7e08ee0e3a.tar.xz linux-f0126539c73921776327e9d6bbf27e7e08ee0e3a.zip |
mpls: rtm_mpls_policy[] can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/af_mpls.c')
-rw-r--r-- | net/mpls/af_mpls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index 75a994a50381..23e51d13b0ff 100644 --- a/net/mpls/af_mpls.c +++ b/net/mpls/af_mpls.c @@ -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 }, }; |