diff options
author | Martin KaFai Lau <martin.lau@kernel.org> | 2023-03-07 22:59:22 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 11:05:28 -0800 |
commit | 62827d612ae525695799b3635a087cb49c55e977 (patch) | |
tree | f073e14eab5ae6dc33707f4f715647ee09efcb6b /kernel/bpf/bpf_task_storage.c | |
parent | 2ffcb6fc50174d1efc8f98633eb2647d84483c68 (diff) |
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>
Diffstat (limited to 'kernel/bpf/bpf_task_storage.c')
0 files changed, 0 insertions, 0 deletions