aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2020-05-01 15:20:46 -0300
committerJason Gunthorpe <[email protected]>2020-05-11 10:47:29 -0300
commit4e2490843d55ffcb128ade3665c238042e36a435 (patch)
tree035ac7e6b1899c664436826c568244a3ab9d8196 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
parentbe957c886d92aa9caf0f63aee2c77d1497217d93 (diff)
drm/amdgpu: remove dead code after hmm_range_fault()
Since amdgpu does not use the snapshot mode of hmm_range_fault() a successful return already proves that all entries in the pfns are HMM_PFN_VALID, there is no need to check the return result of hmm_device_entry_to_page(). Link: https://lore.kernel.org/r/[email protected] Acked-by: Felix Kuehling <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions