mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
net: dst_cache_per_cpu_dst_set() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bd9e33508c
commit
b73f96fcb4
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue