From: Wu Fengguang Date: Fri, 18 Mar 2016 15:27:28 +0000 (+0800) Subject: net: dst_cache_per_cpu_dst_set() can be static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b73f96fcb49ec90c2f837719893e7b25fcdf08d8;p=openwrt%2Fstaging%2Fblogic.git net: dst_cache_per_cpu_dst_set() can be static Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller --- diff --git a/net/core/dst_cache.c b/net/core/dst_cache.c index 3938f3f38d69..554d36449231 100644 --- a/net/core/dst_cache.c +++ b/net/core/dst_cache.c @@ -28,8 +28,8 @@ struct dst_cache_pcpu { }; }; -void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache, - struct dst_entry *dst, u32 cookie) +static void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache, + struct dst_entry *dst, u32 cookie) { dst_release(dst_cache->dst); if (dst) @@ -39,8 +39,8 @@ void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache, dst_cache->dst = dst; } -struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache, - struct dst_cache_pcpu *idst) +static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache, + struct dst_cache_pcpu *idst) { struct dst_entry *dst;