提交 b73f96fc 编写于 作者: W Wu Fengguang 提交者: David S. Miller

net: dst_cache_per_cpu_dst_set() can be static

Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 bd9e3350
...@@ -28,7 +28,7 @@ struct dst_cache_pcpu { ...@@ -28,7 +28,7 @@ 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);
...@@ -39,7 +39,7 @@ void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache, ...@@ -39,7 +39,7 @@ 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册