Re: [PATCH v2 08/10] iommu: Remove unused argument in is_attach_deferred

Jason Gunthorpe
2022-02-09T13:34:18Z

On Tue, Feb 08, 2022 at 09:25:57AM +0800, Lu Baolu wrote:
> The is_attach_deferred iommu_ops callback is a device op. The domain
> argument is unnecessary and never used. Remove it to make code clean.
>
> Suggested-by: Robin Murphy <robin.murphy@arm.com>
> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
> ---
> include/linux/iommu.h | 2 +-
> drivers/iommu/amd/amd_iommu.h | 3 +--
> drivers/iommu/amd/iommu.c | 3 +--
> drivers/iommu/amd/iommu_v2.c | 2 +-
> drivers/iommu/intel/iommu.c | 3 +--
> drivers/iommu/iommu.c | 15 ++++++---------
> 6 files changed, 11 insertions(+), 17 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason