diff options
| author | Jason Gunthorpe <[email protected]> | 2020-05-01 18:20:46 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-05-11 13:47:29 +0000 |
| commit | 4e2490843d55ffcb128ade3665c238042e36a435 (patch) | |
| tree | 035ac7e6b1899c664436826c568244a3ab9d8196 /drivers/fpga/zynq-fpga.c | |
| parent | mm/hmm: make hmm_range_fault return 0 or -1 (diff) | |
| download | kernel-4e2490843d55ffcb128ade3665c238042e36a435.tar.gz kernel-4e2490843d55ffcb128ade3665c238042e36a435.zip | |
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/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
