diff options
author | 2024-05-01 00:47:33 +0100 | |
---|---|---|
committer | 2024-05-02 17:46:38 +0300 | |
commit | e4e40a87024c502dcca279504a4550e617eea037 (patch) | |
tree | 9f0a36d9711244e633df5f68a6ce527a213574c5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | RDMA/mlx5: Remove NULL check before dev_{put, hold} (diff) | |
download | wireguard-linux-e4e40a87024c502dcca279504a4550e617eea037.tar.xz wireguard-linux-e4e40a87024c502dcca279504a4550e617eea037.zip |
RDMA/ipoib: Remove NULL check before dev_{put, hold}
Coccinelle reports a warning
WARNING: NULL check before dev_{put, hold} functions is not needed
The reason is the call netdev_{put, hold} of dev_{put,hold} will check NULL
There is no need to check before using dev_{put, hold}
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/ZjGDFatHRMI6Eg7M@octinomon.home
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions