From: Wu Fengguang Date: Wed, 4 Mar 2015 21:33:54 +0000 (+0800) Subject: mpls: rtm_mpls_policy[] can be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f0126539c73921776327e9d6bbf27e7e08ee0e3a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mpls: rtm_mpls_policy[] can be static Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller --- 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 }, };