]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] powerpc: minor dart driver cleanup
authorOlof Johansson <olof@lixom.net>
Thu, 12 Jan 2006 06:20:50 +0000 (00:20 -0600)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Jan 2006 09:39:13 +0000 (20:39 +1100)
Rpn is assigned every time in the loop, no need to increase it too.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/dart_iommu.c

index e00b46b9514edb3159385d87adcd986e569e8874..977de9db87547635f61dffff982684c674a0b531 100644 (file)
@@ -139,7 +139,6 @@ static void dart_build(struct iommu_table *tbl, long index,
 
                *(dp++) = DARTMAP_VALID | (rpn & DARTMAP_RPNMASK);
 
-               rpn++;
                uaddr += DART_PAGE_SIZE;
        }