iommu: Remove unused argument in is_attach_deferred
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 16 Feb 2022 02:52:48 +0000 (10:52 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 28 Feb 2022 12:25:49 +0000 (13:25 +0100)
commit41bb23e70b50b89b6137cbecd37009d782454860
tree9d074448a6a70e15a9c12ac82d6afc696286f478
parent3f6634d997dba8140b3a7cba01776b9638d70dff
iommu: Remove unused argument in is_attach_deferred

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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220216025249.3459465-9-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu.h
drivers/iommu/amd/iommu.c
drivers/iommu/amd/iommu_v2.c
drivers/iommu/intel/iommu.c
drivers/iommu/iommu.c
include/linux/iommu.h