diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-01 21:20:46 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-11 16:47:29 +0300 |
commit | 4e2490843d55ffcb128ade3665c238042e36a435 (patch) | |
tree | 035ac7e6b1899c664436826c568244a3ab9d8196 /include/linux | |
parent | be957c886d92aa9caf0f63aee2c77d1497217d93 (diff) | |
download | linux-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