|
|
169b9a |
From 863255a5677066edbfb2833372804284a64831d3 Mon Sep 17 00:00:00 2001
|
|
|
6e672b |
From: Kevin Wolf <kwolf@redhat.com>
|
|
|
6e672b |
Date: Thu, 26 Jul 2018 16:24:44 +0200
|
|
|
6e672b |
Subject: [PATCH 2/8] multiboot: Remove unused variables from multiboot.c
|
|
|
6e672b |
|
|
|
6e672b |
RH-Author: Kevin Wolf <kwolf@redhat.com>
|
|
|
6e672b |
Message-id: <20180726162448.22072-3-kwolf@redhat.com>
|
|
|
6e672b |
Patchwork-id: 81516
|
|
|
6e672b |
O-Subject: [RHEL-7.6/7.5.z qemu-kvm PATCH 2/6] multiboot: Remove unused variables from multiboot.c
|
|
|
169b9a |
Bugzilla: 1549822
|
|
|
6e672b |
RH-Acked-by: John Snow <jsnow@redhat.com>
|
|
|
6e672b |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
6e672b |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
6e672b |
|
|
|
6e672b |
From: Jack Schwartz <jack.schwartz@oracle.com>
|
|
|
6e672b |
|
|
|
6e672b |
Remove unused variables: mh_mode_type, mh_width, mh_height, mh_depth
|
|
|
6e672b |
|
|
|
6e672b |
Signed-off-by: Jack Schwartz <jack.schwartz@oracle.com>
|
|
|
6e672b |
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
|
|
|
6e672b |
Reviewed-by: Prasad J Pandit <pjp@fedoraproject.org>
|
|
|
6e672b |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
6e672b |
(cherry picked from commit 7a2e43cc96fd017883973caf9ee076ae23a3bebd)
|
|
|
6e672b |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
6e672b |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
6e672b |
---
|
|
|
6e672b |
hw/i386/multiboot.c | 6 ------
|
|
|
6e672b |
1 file changed, 6 deletions(-)
|
|
|
6e672b |
|
|
|
6e672b |
diff --git a/hw/i386/multiboot.c b/hw/i386/multiboot.c
|
|
|
6e672b |
index 9a9a2e1..ee2ebd1 100644
|
|
|
6e672b |
--- a/hw/i386/multiboot.c
|
|
|
6e672b |
+++ b/hw/i386/multiboot.c
|
|
|
6e672b |
@@ -234,12 +234,6 @@ int load_multiboot(FWCfgState *fw_cfg,
|
|
|
6e672b |
mb_kernel_size = mb_load_size;
|
|
|
6e672b |
}
|
|
|
6e672b |
|
|
|
6e672b |
- /* Valid if mh_flags sets MULTIBOOT_HEADER_HAS_VBE.
|
|
|
6e672b |
- uint32_t mh_mode_type = ldl_p(header+i+32);
|
|
|
6e672b |
- uint32_t mh_width = ldl_p(header+i+36);
|
|
|
6e672b |
- uint32_t mh_height = ldl_p(header+i+40);
|
|
|
6e672b |
- uint32_t mh_depth = ldl_p(header+i+44); */
|
|
|
6e672b |
-
|
|
|
6e672b |
mb_debug("multiboot: mh_header_addr = %#x\n", mh_header_addr);
|
|
|
6e672b |
mb_debug("multiboot: mh_load_addr = %#x\n", mh_load_addr);
|
|
|
6e672b |
mb_debug("multiboot: mh_load_end_addr = %#x\n", mh_load_end_addr);
|
|
|
6e672b |
--
|
|
|
6e672b |
1.8.3.1
|
|
|
6e672b |
|