提交 abf3b7bd 编写于 作者: D David S. Miller

[SPARC64]: Kill stray PGLIST_NENTS check in pci_sun4v.c

I forgot to remove the one in pci_4v_map_sg() during the
iommu batching commit.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 39334a4b
......@@ -485,8 +485,6 @@ static int pci_4v_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int n
/* Step 1: Prepare scatter list. */
npages = prepare_sg(sglist, nelems);
if (unlikely(npages > PGLIST_NENTS))
goto bad;
/* Step 2: Allocate a cluster and context, if necessary. */
spin_lock_irqsave(&iommu->lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册