[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>
This commit is contained in:
parent
9623b5d3d3
commit
b07dfab3e3
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue