summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorOlof Johansson2006-01-12 07:20:50 +0100
committerPaul Mackerras2006-01-12 10:39:13 +0100
commitb07dfab3e329955c218cd1d06efdb133c5c18ecd (patch)
tree140723ffe42eb0e66fc89d82e71202f9cc638439 /arch/powerpc
parent[PATCH] powerpc: small pci cleanups (diff)
downloadkernel-qcow2-linux-b07dfab3e329955c218cd1d06efdb133c5c18ecd.tar.gz
kernel-qcow2-linux-b07dfab3e329955c218cd1d06efdb133c5c18ecd.tar.xz
kernel-qcow2-linux-b07dfab3e329955c218cd1d06efdb133c5c18ecd.zip
[PATCH] powerpc: minor dart driver cleanup
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/sysdev/dart_iommu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c
index e00b46b9514e..977de9db8754 100644
--- a/arch/powerpc/sysdev/dart_iommu.c
+++ b/arch/powerpc/sysdev/dart_iommu.c
@@ -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;
}