diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-05-11 13:12:58 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-05-11 13:12:58 -0600 |
commit | a77109ffca339097833f26a1fea55ff71e2b608a (patch) | |
tree | e50c94a9607c90e939cc09141ede20411865f609 /drivers/counter/counter-sysfs.h | |
parent | 5acb6cd19d121522e215b51b243955901ae5ad02 (diff) |
vfio: Stop using iommu_present()
IOMMU groups have been mandatory for some time now, so a device without
one is necessarily a device without any usable IOMMU, therefore the
iommu_present() check is redundant (or at best unhelpful).
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/537103bbd7246574f37f2c88704d7824a3a889f2.1649160714.git.robin.murphy@arm.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/counter/counter-sysfs.h')
0 files changed, 0 insertions, 0 deletions