diff options
| author | Tobias Klauser <[email protected]> | 2023-02-02 14:19:21 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-02-03 04:26:12 +0000 |
| commit | 158e5e9eeaa0d7a86f2278313746ef6c8521790d (patch) | |
| tree | 820b8155b757026838cd660c3912e49045e1495e /drivers/net/xen-netfront.c | |
| parent | Merge branch ' docs/bpf: Add description of register liveness tracking algori... (diff) | |
| download | kernel-158e5e9eeaa0d7a86f2278313746ef6c8521790d.tar.gz kernel-158e5e9eeaa0d7a86f2278313746ef6c8521790d.zip | |
bpf: Drop always true do_idr_lock parameter to bpf_map_free_id
The do_idr_lock parameter to bpf_map_free_id was introduced by commit
bd5f5f4ecb78 ("bpf: Add BPF_MAP_GET_FD_BY_ID"). However, all callers set
do_idr_lock = true since commit 1e0bd5a091e5 ("bpf: Switch bpf_map ref
counter to atomic64_t so bpf_map_inc() never fails").
While at it also inline __bpf_map_put into its only caller bpf_map_put
now that do_idr_lock can be dropped from its signature.
Signed-off-by: Tobias Klauser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions
