Re: [PATCH] iommu: Remove trivial ops->capable implementations

From: Joerg Roedel
Date: Mon Feb 14 2022 - 08:05:17 EST


On Thu, Feb 10, 2022 at 12:29:05PM +0000, Robin Murphy wrote:
> 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@xxxxxxx>
> ---
>
> Spinning this out of my bus ops stuff (currently 30 patches and
> counting...) since it would be better off alongside Baolu's cleanup
> series to avoid conflicts, and I want to depend on those patches for
> dev_iommu_ops() anyway.
>
> drivers/iommu/msm_iommu.c | 6 ------
> drivers/iommu/tegra-gart.c | 6 ------
> drivers/iommu/tegra-smmu.c | 6 ------
> 3 files changed, 18 deletions(-)

Applied, thanks Robin.