* [PATCH] iommu/s390: Remove duplicate statement
@ 2022-11-30 16:29 Gerd Bayer
0 siblings, 0 replies; only message in thread
From: Gerd Bayer @ 2022-11-30 16:29 UTC (permalink / raw)
To: Joerg Roedel; +Cc: iommu, linux390-list, Niklas Schnelle
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")
Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
---
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(-)
diff --git a/drivers/iommu/s390-iommu.c b/drivers/iommu/s390-iommu.c
index ed33c6cce083..3fd0e9fdacb8 100644
--- a/drivers/iommu/s390-iommu.c
+++ b/drivers/iommu/s390-iommu.c
@@ -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;
--
2.38.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-30 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-30 16:29 [PATCH] iommu/s390: Remove duplicate statement Gerd Bayer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox