Skip to content
Snippets Groups Projects
Commit 7a2e43cc authored by Jack Schwartz's avatar Jack Schwartz Committed by Kevin Wolf
Browse files

multiboot: Remove unused variables from multiboot.c


Remove unused variables: mh_mode_type, mh_width, mh_height, mh_depth

Signed-off-by: default avatarJack Schwartz <jack.schwartz@oracle.com>
Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: default avatarPrasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 2a8fcd11
No related branches found
No related tags found
No related merge requests found
......@@ -255,12 +255,6 @@ int load_multiboot(FWCfgState *fw_cfg,
mb_kernel_size = mb_load_size;
}
/* Valid if mh_flags sets MULTIBOOT_HEADER_HAS_VBE.
uint32_t mh_mode_type = ldl_p(header+i+32);
uint32_t mh_width = ldl_p(header+i+36);
uint32_t mh_height = ldl_p(header+i+40);
uint32_t mh_depth = ldl_p(header+i+44); */
mb_debug("multiboot: mh_header_addr = %#x\n", mh_header_addr);
mb_debug("multiboot: mh_load_addr = %#x\n", mh_load_addr);
mb_debug("multiboot: mh_load_end_addr = %#x\n", mh_load_end_addr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment