diff options
author | Jules Irenge <[email protected]> | 2024-04-30 23:47:45 +0100 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-05-05 15:12:35 +0300 |
commit | 48d80b484491f177c586874c480cf9ba3af82b4f (patch) | |
tree | 184a6b31886840a119ca55a715737aa2c5730d4f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e4e40a87024c502dcca279504a4550e617eea037 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions