diff options
author | Olof Johansson <olof@lixom.net> | 2006-01-12 01:20:50 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-12 04:39:13 -0500 |
commit | b07dfab3e329955c218cd1d06efdb133c5c18ecd (patch) | |
tree | 140723ffe42eb0e66fc89d82e71202f9cc638439 /arch | |
parent | 9623b5d3d3d85bac47a83e0e2cf2a9998ade9bd3 (diff) |
[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')
-rw-r--r-- | arch/powerpc/sysdev/dart_iommu.c | 1 |
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, | |||
139 | 139 | ||
140 | *(dp++) = DARTMAP_VALID | (rpn & DARTMAP_RPNMASK); | 140 | *(dp++) = DARTMAP_VALID | (rpn & DARTMAP_RPNMASK); |
141 | 141 | ||
142 | rpn++; | ||
143 | uaddr += DART_PAGE_SIZE; | 142 | uaddr += DART_PAGE_SIZE; |
144 | } | 143 | } |
145 | 144 | ||