diff options
author | 2023-07-18 20:06:27 +0200 | |
---|---|---|
committer | 2023-07-19 11:04:28 -0400 | |
commit | 08a12b39e289fedf755afbc81de44a5cd1286b4b (patch) | |
tree | 54a223508300e5a7b350d67ad53e931d836a44fa /drivers/usb/cdns3/cdns3-debug.h | |
parent | selinux: de-brand SELinux (diff) | |
download | wireguard-linux-08a12b39e289fedf755afbc81de44a5cd1286b4b.tar.xz wireguard-linux-08a12b39e289fedf755afbc81de44a5cd1286b4b.zip |
selinux: drop avtab_search()
avtab_search() shares the same logic with avtab_search_node(), except
that it returns, if found, a pointer to the struct avtab_node member
datum instead of the node itself. Since the member is an embedded
struct, and not a pointer, the returned value of avtab_search() and
avtab_search_node() will always in unison either be NULL or non-NULL.
Drop avtab_search() and replace its calls by avtab_search_node() to
deduplicate logic and adopt the only caller caring for the type of
the returned value accordingly.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions