Re: [PATCH v3 06/20] iommu/mtk: Remove detach_dev callback

From: Jason Gunthorpe
Date: Mon Nov 28 2022 - 08:49:55 EST


On Mon, Nov 28, 2022 at 02:46:34PM +0800, Lu Baolu wrote:
> The IOMMU driver supports default domain, so the detach_dev op will never
> be called. Remove it to avoid dead code.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> ---
> drivers/iommu/mtk_iommu.c | 9 ---------
> 1 file changed, 9 deletions(-)

I listed this driver as not supporting default domains:

https://lore.kernel.org/linux-iommu/20220516135741.GV1343366@xxxxxxxxxx/

?

Has something changed? Did I get it wrong?

Jason