Date: Sun, 10 Jun 2012 10:40:23 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r236846 - in head/sys/arm: at91 econa xscale/i80321 xscale/pxa Message-ID: <201206101040.q5AAeNQG091941@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Sun Jun 10 10:40:22 2012 New Revision: 236846 URL: http://svn.freebsd.org/changeset/base/236846 Log: 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. Modified: head/sys/arm/at91/at91_machdep.c head/sys/arm/econa/econa_machdep.c head/sys/arm/xscale/i80321/ep80219_machdep.c head/sys/arm/xscale/pxa/pxa_machdep.c Modified: head/sys/arm/at91/at91_machdep.c ============================================================================== --- head/sys/arm/at91/at91_machdep.c Sun Jun 10 10:37:21 2012 (r236845) +++ head/sys/arm/at91/at91_machdep.c Sun Jun 10 10:40:22 2012 (r236846) @@ -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 Modified: head/sys/arm/econa/econa_machdep.c ============================================================================== --- head/sys/arm/econa/econa_machdep.c Sun Jun 10 10:37:21 2012 (r236845) +++ head/sys/arm/econa/econa_machdep.c Sun Jun 10 10:40:22 2012 (r236846) @@ -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 Modified: head/sys/arm/xscale/i80321/ep80219_machdep.c ============================================================================== --- head/sys/arm/xscale/i80321/ep80219_machdep.c Sun Jun 10 10:37:21 2012 (r236845) +++ head/sys/arm/xscale/i80321/ep80219_machdep.c Sun Jun 10 10:40:22 2012 (r236846) @@ -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; Modified: head/sys/arm/xscale/pxa/pxa_machdep.c ============================================================================== --- head/sys/arm/xscale/pxa/pxa_machdep.c Sun Jun 10 10:37:21 2012 (r236845) +++ head/sys/arm/xscale/pxa/pxa_machdep.c Sun Jun 10 10:40:22 2012 (r236846) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206101040.q5AAeNQG091941>