summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot/multiboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/boot/multiboot.c')
-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);