aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc64/kernel/pci_sun4v.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c
index 4e9d3c451af2..d9ef0c7580ea 100644
--- a/arch/sparc64/kernel/pci_sun4v.c
+++ b/arch/sparc64/kernel/pci_sun4v.c
@@ -485,8 +485,6 @@ static int pci_4v_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int n
485 485
486 /* Step 1: Prepare scatter list. */ 486 /* Step 1: Prepare scatter list. */
487 npages = prepare_sg(sglist, nelems); 487 npages = prepare_sg(sglist, nelems);
488 if (unlikely(npages > PGLIST_NENTS))
489 goto bad;
490 488
491 /* Step 2: Allocate a cluster and context, if necessary. */ 489 /* Step 2: Allocate a cluster and context, if necessary. */
492 spin_lock_irqsave(&iommu->lock, flags); 490 spin_lock_irqsave(&iommu->lock, flags);