diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-20 10:09:01 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 10:13:44 +0100 |
commit | abf3b7bd89c11492b145e338913c0b511084cff7 (patch) | |
tree | fa8d333d0b66e4e7d427817d0b927ab5a901e095 /arch | |
parent | [SPARC64]: Fix typo in dump_tl1_traplog() (diff) | |
download | linux-abf3b7bd89c11492b145e338913c0b511084cff7.tar.xz linux-abf3b7bd89c11492b145e338913c0b511084cff7.zip |
[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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/pci_sun4v.c | 2 |
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 /* 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); |