diff options
author | 2025-03-12 20:21:13 +0300 | |
---|---|---|
committer | 2025-03-19 03:13:14 +0100 | |
commit | 399e0aae5aab30f911098a0430204e9034ff78bb (patch) | |
tree | 46ea79835565934a089d328fde983c0097d1136a /scripts/generate_rust_analyzer.py | |
parent | xfrm: state: make xfrm_state_lookup_byaddr lockless (diff) | |
download | linux-rng-399e0aae5aab30f911098a0430204e9034ff78bb.tar.xz linux-rng-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 <dan.carpenter@linaro.org>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions