aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2021-05-26 06:24:55 +0900
committerMike Snitzer <[email protected]>2021-06-04 12:07:30 -0400
commitdd73c320ec3089149b802a1316321c3e0f6a6aaf (patch)
tree167bcce72eec15e9e691a252911486b74986ec97 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent6842d264aa5205da338b6dcc6acfa2a6732558f1 (diff)
dm: cleanup device_area_is_invalid()
In device_area_is_invalid(), use bdev_is_zoned() instead of open coding the test on the zoned model returned by bdev_zoned_model(). Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions