linux/drivers/infiniband/ulp
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
..
ipoib RDMA/core: Remove NULL check before dev_{put, hold} 2023-10-24 18:16:04 +03:00
iser v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
isert Revert "IB/isert: Fix incorrect release of isert connection" 2023-08-22 17:01:04 +03:00
opa_vnic IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
rtrs RDMA/rtrs: Fix the problem of variable not initialized fully 2023-09-19 12:30:33 +03:00
srp IB/srp: Annotate struct srp_fr_pool with __counted_by 2023-10-02 14:44:54 +03:00
srpt v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00