mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
[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
|
|
@ -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…
Reference in New Issue
Block a user