aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorYang Li <[email protected]>2023-10-24 00:38:15 +0000
committerLeon Romanovsky <[email protected]>2023-10-24 15:16:04 +0000
commit7a1c2abf9a2be7d969b25e8d65567933335ca88e (patch)
tree6c14c7286e8d5f8a4d937b913cf77fb271027fb3 /scripts/gdb/vmlinux-gdb.py
parentRDMA/hfi1: Remove redundant assignment to pointer ppd (diff)
downloadkernel-7a1c2abf9a2be7d969b25e8d65567933335ca88e.tar.gz
kernel-7a1c2abf9a2be7d969b25e8d65567933335ca88e.zip
RDMA/core: Remove NULL check before dev_{put, hold}
The call netdev_{put, hold} of dev_{put, hold} will check NULL, so there is no need to check before using dev_{put, hold}, remove it to silence the warning: ./drivers/infiniband/core/nldev.c:375:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7047 Signed-off-by: Yang Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions