Skip to content

Commit

Permalink
[PATCH] powerpc: minor dart driver cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olof Johansson authored and Paul Mackerras committed Jan 12, 2006
1 parent 9623b5d commit b07dfab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/powerpc/sysdev/dart_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b07dfab

Please sign in to comment.