diff options
| author | Michal Luczaj <[email protected]> | 2025-04-09 12:50:58 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-11 00:32:57 +0000 |
| commit | 709894c52c1cafa36fe2047ba5a0b83bdf398133 (patch) | |
| tree | 646a7eeba082b554e04fb9e418059be155a0d557 /tools/testing/selftests/net/lib/py/ynl.py | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
| download | kernel-709894c52c1cafa36fe2047ba5a0b83bdf398133.tar.gz kernel-709894c52c1cafa36fe2047ba5a0b83bdf398133.zip | |
af_unix: Remove unix_unhash()
Dummy unix_unhash() was introduced for sockmap in commit 94531cfcbe79
("af_unix: Add unix_stream_proto for sockmap"), but there's no need to
implement it anymore.
->unhash() is only called conditionally: in unix_shutdown() since commit
d359902d5c35 ("af_unix: Fix NULL pointer bug in unix_shutdown"), and in BPF
proto's sock_map_unhash() since commit 5b4a79ba65a1 ("bpf, sockmap: Don't
let sock_map_{close,destroy,unhash} call itself").
Remove it.
Signed-off-by: Michal Luczaj <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/ynl.py')
0 files changed, 0 insertions, 0 deletions
