From b07dfab3e329955c218cd1d06efdb133c5c18ecd Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Thu, 12 Jan 2006 00:20:50 -0600 Subject: [PATCH] [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 Signed-off-by: Paul Mackerras --- arch/powerpc/sysdev/dart_iommu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c index e00b46b951..977de9db87 100644 --- a/arch/powerpc/sysdev/dart_iommu.c +++ b/arch/powerpc/sysdev/dart_iommu.c @@ -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; } -- 2.39.5