1
0
Fork 0

[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>
hifive-unleashed-5.1
Olof Johansson 2006-01-12 00:20:50 -06:00 committed by Paul Mackerras
parent 9623b5d3d3
commit b07dfab3e3
1 changed files with 0 additions and 1 deletions

View 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;
}