diff options
author | 2024-04-30 23:47:45 +0100 | |
---|---|---|
committer | 2024-05-05 15:12:35 +0300 | |
commit | 48d80b484491f177c586874c480cf9ba3af82b4f (patch) | |
tree | 184a6b31886840a119ca55a715737aa2c5730d4f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/ipoib: Remove NULL check before dev_{put, hold} (diff) | |
download | wireguard-linux-48d80b484491f177c586874c480cf9ba3af82b4f.tar.xz wireguard-linux-48d80b484491f177c586874c480cf9ba3af82b4f.zip |
RDMA/core: 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/ZjF1Eedxwhn4JSkz@octinomon.home
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions