linux/drivers/infiniband/hw/vmw_pvrdma
Yang Li 7a1c2abf9a 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 <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7047
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20231024003815.89742-1-yang.lee@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-10-24 18:16:04 +03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
pvrdma_cmd.c
pvrdma_cq.c RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC 2021-01-19 20:17:27 -04:00
pvrdma_dev_api.h RDMA/vmw_pvrdma: Use resource ids from physical device if available 2019-10-28 16:09:23 -03:00
pvrdma_doorbell.c RDMA/pvrdma: Use non-atomic bitmap functions when possible 2021-11-29 14:33:56 -04:00
pvrdma_main.c RDMA/core: Remove NULL check before dev_{put, hold} 2023-10-24 18:16:04 +03:00
pvrdma_misc.c RDMA/umem: Replace for_each_sg_dma_page with rdma_umem_for_each_dma_block 2020-09-09 15:33:17 -03:00
pvrdma_mr.c RDMA/umem: Split ib_umem_num_pages() into ib_umem_num_dma_blocks() 2020-09-11 10:24:53 -03:00
pvrdma_qp.c RDMA/vmw_pvrdma: Remove unnecessary check on wr->opcode 2023-06-09 14:11:53 -03:00
pvrdma_ring.h
pvrdma_srq.c RDMA: Check srq_type during create_srq 2020-10-26 19:27:58 -03:00
pvrdma_verbs.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
pvrdma_verbs.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
pvrdma.h RDMA: Delete not-used static inline functions 2021-03-22 09:31:19 -03:00