Linux IOMMU Development
 help / color / mirror / Atom feed
From: Gerd Bayer <gbayer@linux.ibm.com>
To: Joerg Roedel <joro@8bytes.org>
Cc: iommu@lists.linux.dev,
	linux390-list@tuxmaker.boeblingen.de.ibm.com,
	Niklas Schnelle <schnelle@linux.ibm.com>
Subject: [PATCH] iommu/s390: Remove duplicate statement
Date: Wed, 30 Nov 2022 17:29:04 +0100	[thread overview]
Message-ID: <20221130162904.472226-1-gbayer@linux.ibm.com> (raw)

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


                 reply	other threads:[~2022-11-30 16:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221130162904.472226-1-gbayer@linux.ibm.com \
    --to=gbayer@linux.ibm.com \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux390-list@tuxmaker.boeblingen.de.ibm.com \
    --cc=schnelle@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox