iommu: Remove trivial ops->capable implementations
authorRobin Murphy <robin.murphy@arm.com>
Thu, 10 Feb 2022 12:29:05 +0000 (12:29 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 14 Feb 2022 13:04:38 +0000 (14:04 +0100)
commit114a6f5015df8eda0cf37302914cb15a3da3f086
tree428def77757a5a6e9b02aca31c3471e5618f45cb
parent754e0b0e35608ed5206d6a67a791563c631cec07
iommu: Remove trivial ops->capable implementations

Implementing ops->capable to always return false is pointless since it's
the default behaviour anyway. Clean up the unnecessary implementations.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/8413578c6f8a7cf75530b00cba8f10f5b88f8517.1644495614.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/msm_iommu.c
drivers/iommu/tegra-gart.c
drivers/iommu/tegra-smmu.c