linux/drivers/infiniband
Jules Irenge e4e40a8702 RDMA/ipoib: 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/ZjGDFatHRMI6Eg7M@octinomon.home
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-05-02 17:46:38 +03:00
..
core RDMA/core: Add an option to display driver-specific QPs in the rdmatool 2024-04-30 11:19:29 +03:00
hw RDMA/mlx5: Remove NULL check before dev_{put, hold} 2024-05-02 17:45:59 +03:00
sw RDMA/rxe: Let destroy qp succeed with stuck packet 2024-04-22 16:55:57 -03:00
ulp RDMA/ipoib: Remove NULL check before dev_{put, hold} 2024-05-02 17:46:38 +03:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile