summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/qib/qib_init.c
diff options
context:
space:
mode:
authorDaisuke Matsuda <dskmtsd@gmail.com>2025-06-11 16:27:58 +0000
committerLeon Romanovsky <leon@kernel.org>2025-06-12 07:07:40 -0400
commitc81fef22020c7467c08929330009c7c613e5ff5c (patch)
tree988853a06f37779d1b34634554221cb4db2f8568 /drivers/infiniband/hw/qib/qib_init.c
parentbaa640d924e55eee9210164ac068ad32dbd69c20 (diff)
RDMA/rxe: Remove redundant page presence check
hmm_pfn_to_page() does not return NULL. ib_umem_odp_map_dma_and_lock() should return an error in case the target pages cannot be mapped until timeout, so these checks can safely be removed. Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by: Daisuke Matsuda <dskmtsd@gmail.com> Link: https://patch.msgid.link/20250611162758.10000-1-dskmtsd@gmail.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_init.c')
0 files changed, 0 insertions, 0 deletions