net: dst_cache_per_cpu_dst_set() can be static
commit b73f96fcb49ec90c2f837719893e7b25fcdf08d8 upstream. Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6e0d1fb619
commit
554d660e44
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user