summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Millan <rmh@aybabtu.com>2009-03-31 14:11:19 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-31 14:11:19 +0000
commit420593e74dc1a287b342e9fb8746718b0e4ad007 (patch)
treee72e0b3bfd4e9ec6e54f5e2cfe614a0d59e9d257
parentdecdb3c647e15e3caf94d1f56ebeec3de7c47eb2 (diff)
This fixes a shadowed declaration in multiboot.c.
Signed-off-by: Robert Millan <rmh@aybabtu.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4034 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/i386/boot/multiboot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/i386/boot/multiboot.c b/src/arch/i386/boot/multiboot.c
index d331193416..1f60ab143b 100644
--- a/src/arch/i386/boot/multiboot.c
+++ b/src/arch/i386/boot/multiboot.c
@@ -78,10 +78,8 @@ unsigned long write_multiboot_info(
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);