aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Schwartz <jack.schwartz@oracle.com>2017-12-21 09:25:16 -0800
committerKevin Wolf <kwolf@redhat.com>2018-03-07 11:53:35 +0100
commit7a2e43cc96fd017883973caf9ee076ae23a3bebd (patch)
treed61d8fc346fc642d6eef0a61fc0cd5edbe4aabaf
parent2a8fcd119eb7c6bb3837fc3669eb1b2dfb31daf8 (diff)
downloadqemu-7a2e43cc96fd017883973caf9ee076ae23a3bebd.zip
qemu-7a2e43cc96fd017883973caf9ee076ae23a3bebd.tar.gz
qemu-7a2e43cc96fd017883973caf9ee076ae23a3bebd.tar.bz2
multiboot: Remove unused variables from multiboot.c
Remove unused variables: mh_mode_type, mh_width, mh_height, mh_depth Signed-off-by: Jack Schwartz <jack.schwartz@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Prasad J Pandit <pjp@fedoraproject.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--hw/i386/multiboot.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/i386/multiboot.c b/hw/i386/multiboot.c
index bb8d8e4..7d59cbe 100644
--- a/hw/i386/multiboot.c
+++ b/hw/i386/multiboot.c
@@ -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);