aboutsummaryrefslogtreecommitdiff
path: root/net/mpls
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2015-03-05 05:33:54 +0800
committerDavid S. Miller <davem@davemloft.net>2015-03-04 16:39:45 -0500
commitf0126539c73921776327e9d6bbf27e7e08ee0e3a (patch)
treedba9d1cc71eb27bdd649e5c65ccb69b0751c988b /net/mpls
parentc473463ca77f61dae134a166aec4610bddc8f1fa (diff)
downloadlinux-stericsson-f0126539c73921776327e9d6bbf27e7e08ee0e3a.tar.gz
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')
-rw-r--r--net/mpls/af_mpls.c2
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 },
};