[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:
Родитель
9623b5d3d3
Коммит
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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче