Commit b73f96fc authored by Wu Fengguang's avatar Wu Fengguang Committed by David S. Miller

net: dst_cache_per_cpu_dst_set() can be static

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd9e3350
...@@ -28,8 +28,8 @@ struct dst_cache_pcpu { ...@@ -28,8 +28,8 @@ struct dst_cache_pcpu {
}; };
}; };
void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache, static void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache,
struct dst_entry *dst, u32 cookie) struct dst_entry *dst, u32 cookie)
{ {
dst_release(dst_cache->dst); dst_release(dst_cache->dst);
if (dst) if (dst)
...@@ -39,8 +39,8 @@ void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache, ...@@ -39,8 +39,8 @@ void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache,
dst_cache->dst = dst; dst_cache->dst = dst;
} }
struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache, static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache,
struct dst_cache_pcpu *idst) struct dst_cache_pcpu *idst)
{ {
struct dst_entry *dst; struct dst_entry *dst;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment