]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/umem: Remove redundant DMABUF ops check
authorLeon Romanovsky <leonro@nvidia.com>
Sun, 4 Jan 2026 13:51:33 +0000 (15:51 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 5 Jan 2026 09:02:18 +0000 (04:02 -0500)
commitac7dea328ab52a6dce40361bb478b80d5004abe0
treea5e7eb6be93291afd26b6bbc3c7fd09eebda4460
parentaaecff5e13cd98d9a9260bf2ec83ef3a1bda86a6
RDMA/umem: Remove redundant DMABUF ops check

ib_umem_dmabuf_get_with_dma_device() is an in-kernel function and does
not require a defensive check for the .move_notify callback. All current
callers guarantee that this callback is always present.

Link: https://patch.msgid.link/20260104-ib-core-misc-v1-1-00367f77f3a8@nvidia.com
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/core/umem_dmabuf.c