Skip to contentSkip to conversation

iommu/s390: Remove duplicate statement

PATCH New Gerd Bayer 1 participant 1 message Nov 30, 2022

Subsystems (2)
lore
Share & tools
lore

Gerd Bayer

author
#0 lore raw

PATCH 1/1 iommu/s390: Remove duplicate statement

Clean up an erroneously duplicated statement. This is a late finding while reviewing the latest s390 IOMMU work.

Fixes cbf7827bc5dc ("iommu/s390: Fix potential s390_domain aperture shrinking")

---

This duplicate line is currently in the -next and the IOMMU trees but not yet in mainline.

 drivers/iommu/s390-iommu.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iommu/s390-iommu.c +0 -1
index ed33c6cce083..3fd0e9fdacb8 100644
@@ -132,7 +132,6 @@ static int s390_iommu_attach_device(struct iommu_domain *domain,
 	 */
 	if (cc && status != ZPCI_PCI_ST_FUNC_NOT_AVAIL)
 		return -EIO;
-	zdev->dma_table = s390_domain->dma_table;
 
 	zdev->dma_table = s390_domain->dma_table;
 	zdev->s390_domain = s390_domain;
Signature · 1 line
2.38.1