Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

net: dst_cache_per_cpu_dst_set() can be static

parent bd9e3350
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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)
{
	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;
}

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_entry *dst;