Home
last modified time | relevance | path

Searched hist:"62827 d612ae525695799b3635a087cb49c55e977" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.cdiff 62827d612ae525695799b3635a087cb49c55e977 Wed Mar 08 00:59:22 CST 2023 Martin KaFai Lau <martin.lau@kernel.org> bpf: Remove __bpf_local_storage_map_alloc

bpf_local_storage_map_alloc() is the only caller of
__bpf_local_storage_map_alloc(). The remaining logic in
bpf_local_storage_map_alloc() is only a one liner setting
the smap->cache_idx.

Remove __bpf_local_storage_map_alloc() to simplify code.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20230308065936.1550103-4-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>