aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/netns.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-03-12 17:21:13 +0000
committerSteffen Klassert <[email protected]>2025-03-19 02:13:14 +0000
commit399e0aae5aab30f911098a0430204e9034ff78bb (patch)
tree46ea79835565934a089d328fde983c0097d1136a /tools/testing/selftests/net/lib/py/netns.py
parentxfrm: state: make xfrm_state_lookup_byaddr lockless (diff)
downloadkernel-399e0aae5aab30f911098a0430204e9034ff78bb.tar.gz
kernel-399e0aae5aab30f911098a0430204e9034ff78bb.zip
xfrm: Remove unnecessary NULL check in xfrm_lookup_with_ifid()
This NULL check is unnecessary and can be removed. It confuses Smatch static analysis tool because it makes Smatch think that xfrm_lookup_with_ifid() can return a mix of NULL pointers and errors so it creates a lot of false positives. Remove it. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Michal Kubiak <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions