diff options
-rw-r--r-- | drivers/iommu/intel-iommu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 8303f256fe84..dc322d0238a0 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c | |||
@@ -4056,8 +4056,7 @@ static void domain_remove_one_dev_info(struct dmar_domain *domain, | |||
4056 | * owned by this domain, clear this iommu in iommu_bmp | 4056 | * owned by this domain, clear this iommu in iommu_bmp |
4057 | * update iommu count and coherency | 4057 | * update iommu count and coherency |
4058 | */ | 4058 | */ |
4059 | if (iommu == device_to_iommu(info->segment, info->bus, | 4059 | if (info->iommu == iommu) |
4060 | info->devfn)) | ||
4061 | found = 1; | 4060 | found = 1; |
4062 | } | 4061 | } |
4063 | 4062 | ||