./drivers/infiniband/core/nldev.c:375:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. In the following kernel version: name: linux-next url:https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git branch: next-20231023 commit: e8361b005d7c92997d12f2b85a9e4a525738bd9d