summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-05-01 21:20:46 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-05-11 16:47:29 +0300
commit4e2490843d55ffcb128ade3665c238042e36a435 (patch)
tree035ac7e6b1899c664436826c568244a3ab9d8196 /include/linux
parentbe957c886d92aa9caf0f63aee2c77d1497217d93 (diff)
downloadlinux-4e2490843d55ffcb128ade3665c238042e36a435.tar.xz
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/3-v2-b4e84f444c7d+24f57-hmm_no_flags_jgg@mellanox.com Acked-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions