[coreboot] [v2] r4034 - trunk/coreboot-v2/src/arch/i386/boot

svn at coreboot.org svn at coreboot.org
Tue Mar 31 16:11:19 CEST 2009


Author: stepan
Date: 2009-03-31 16:11:19 +0200 (Tue, 31 Mar 2009)
New Revision: 4034

Modified:
   trunk/coreboot-v2/src/arch/i386/boot/multiboot.c
Log:
This fixes a shadowed declaration in multiboot.c.

Signed-off-by: Robert Millan <rmh at aybabtu.com>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: trunk/coreboot-v2/src/arch/i386/boot/multiboot.c
===================================================================
--- trunk/coreboot-v2/src/arch/i386/boot/multiboot.c	2009-03-31 14:10:42 UTC (rev 4033)
+++ trunk/coreboot-v2/src/arch/i386/boot/multiboot.c	2009-03-31 14:11:19 UTC (rev 4034)
@@ -78,10 +78,8 @@
 	unsigned long low_table_start, unsigned long low_table_end,
 	unsigned long rom_table_start, unsigned long rom_table_end)
 {
-	struct multiboot_info *mbi;
 	int i;
 
-	mbi = (struct multiboot_info *)rom_table_end;
 	memset(mbi, 0, sizeof(*mbi));
 	rom_table_end += sizeof(*mbi);
 





More information about the coreboot mailing list