summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91_machdep.c
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2012-06-10 10:40:22 +0000
committerandrew <andrew@FreeBSD.org>2012-06-10 10:40:22 +0000
commit454415d4a3bf1756ec95bc6dcd75647abb11126f (patch)
treee3cb4e010dd9252456ac5293ac1cf5dbab34a02b /sys/arm/at91/at91_machdep.c
parenta1ade23888e1d0608a99bd6579c6394c12f3381a (diff)
downloadFreeBSD-src-454415d4a3bf1756ec95bc6dcd75647abb11126f.zip
FreeBSD-src-454415d4a3bf1756ec95bc6dcd75647abb11126f.tar.gz
Remove an unneeded increment from initarm. The variable is uninitialised,
is not used in this part of the function and correctly initialised later when it is used.
Diffstat (limited to 'sys/arm/at91/at91_machdep.c')
-rw-r--r--sys/arm/at91/at91_machdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/arm/at91/at91_machdep.c b/sys/arm/at91/at91_machdep.c
index b05ef9a..6b3f56e 100644
--- a/sys/arm/at91/at91_machdep.c
+++ b/sys/arm/at91/at91_machdep.c
@@ -426,7 +426,6 @@ initarm(struct arm_boot_params *abp)
kernel_pt_table[loop].pv_va - KERNVIRTADDR +
KERNPHYSADDR;
}
- i++;
}
/*
* Allocate a page for the system page mapped to V0x00000000
OpenPOWER on IntegriCloud