diff options
author | andrew <andrew@FreeBSD.org> | 2012-06-10 10:40:22 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2012-06-10 10:40:22 +0000 |
commit | 454415d4a3bf1756ec95bc6dcd75647abb11126f (patch) | |
tree | e3cb4e010dd9252456ac5293ac1cf5dbab34a02b /sys | |
parent | a1ade23888e1d0608a99bd6579c6394c12f3381a (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/arm/at91/at91_machdep.c | 1 | ||||
-rw-r--r-- | sys/arm/econa/econa_machdep.c | 1 | ||||
-rw-r--r-- | sys/arm/xscale/i80321/ep80219_machdep.c | 1 | ||||
-rw-r--r-- | sys/arm/xscale/pxa/pxa_machdep.c | 1 |
4 files changed, 0 insertions, 4 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 diff --git a/sys/arm/econa/econa_machdep.c b/sys/arm/econa/econa_machdep.c index 237ec48..9b7042f 100644 --- a/sys/arm/econa/econa_machdep.c +++ b/sys/arm/econa/econa_machdep.c @@ -230,7 +230,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 diff --git a/sys/arm/xscale/i80321/ep80219_machdep.c b/sys/arm/xscale/i80321/ep80219_machdep.c index 803fec1..875f357 100644 --- a/sys/arm/xscale/i80321/ep80219_machdep.c +++ b/sys/arm/xscale/i80321/ep80219_machdep.c @@ -225,7 +225,6 @@ initarm(struct arm_boot_params *abp) kernel_pt_table[loop].pv_va = kernel_pt_table[loop].pv_pa + 0x20000000; } - i++; } freemem_pt = freemempos; freemempos = 0xa0100000; diff --git a/sys/arm/xscale/pxa/pxa_machdep.c b/sys/arm/xscale/pxa/pxa_machdep.c index 69311d4..fb89a06 100644 --- a/sys/arm/xscale/pxa/pxa_machdep.c +++ b/sys/arm/xscale/pxa/pxa_machdep.c @@ -208,7 +208,6 @@ initarm(struct arm_boot_params *abp) kernel_pt_table[loop].pv_va = kernel_pt_table[loop].pv_pa + 0x20000000; } - i++; } freemem_pt = freemempos; freemempos = 0xa0100000; |