From patchwork Tue Jun 19 01:42:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 10472919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E2A860244 for ; Tue, 19 Jun 2018 02:36:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65F0A28619 for ; Tue, 19 Jun 2018 02:36:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 584252876C; Tue, 19 Jun 2018 02:36:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ED16D28619 for ; Tue, 19 Jun 2018 02:36:32 +0000 (UTC) Received: from localhost ([::1]:38681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV6VU-0007RY-5s for patchwork-qemu-devel@patchwork.kernel.org; Mon, 18 Jun 2018 22:36:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV5i2-0001eW-SV for qemu-devel@nongnu.org; Mon, 18 Jun 2018 21:45:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fV5i2-0008Py-0J for qemu-devel@nongnu.org; Mon, 18 Jun 2018 21:45:26 -0400 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:39400) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fV5i1-0008Pi-M4; Mon, 18 Jun 2018 21:45:25 -0400 Received: by mail-oi0-x22c.google.com with SMTP id t22-v6so16701129oih.6; Mon, 18 Jun 2018 18:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=6gtdG4OxtIdGw9fSnj5OnmzBLmBRifd7LYNW9cLiQWs=; b=SZWVwE1gkpKLhB3bHsw5+66Feb2sNEhxtt2lAC0yEPKlDnaGaMxJAuYzdCck85/88O pfwvDppvxS8QFXyPIfM5yolVbAWer7bHM90MEzrR7HJt2aqTXPy3cL3bcIszv4f0prIY 5lZ6nbY+KgKa4+M1nrAblOEqrJjvDwaM39N1wc9yK78VcjnBQjwukI84c3zWl3bKXUrl dhphZg82yXsp7NDR8jIkdw457Hl9TVn8dJh5RiQ7BFFMpN6e+6xHytYuOuPquLeibjrm 0W6Jr5bwqAfvdcdjHXclnOqjk3rcRIj26IYsb8MAbusEv40I6E06RN/+CjGwXsSazP6F hKdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=6gtdG4OxtIdGw9fSnj5OnmzBLmBRifd7LYNW9cLiQWs=; b=VmMcCUZ9WKa3zRuVT60bmgj/Fyd+sC89UxVGI44jX5C6xnF+P9y08vnz6awcXf28A0 tNXZRfSTjunvNOgwTg6nenEJJXYYm3T9fQsbNfzSmn8GPPRARBlh89RDH+XV/SAqxgvl ON85YWyhVS/JY4kW8YMds2CHRhjcjvZUVATWNS3QL/9QLTh4/bGDNenSJNjbV4yu++Ae FQlJsBEUiGZQ3AS7ryW6x7guH15h8a0v+hZyJktNW1O4Zd0s2h2OS1BfZ1zGFJI6I9WD RMkZ5rPoVmPnSzKr1FV4ayc7JHeWpT7ZGwUH/l18DexHR878zKG4ar0Ps/+4DVNGCWcF VP5w== X-Gm-Message-State: APt69E3cCYEIJVsVXxXeUemCE9we01PT5I9YXNbL5OoGXLypfbpW2x03 X6QvdGKxG4zYkiHnstbCNqzxhvjF X-Google-Smtp-Source: ADUXVKK1iJnIYjXBdzjJb4Ea0TRqFPS8MPG54oB6vQmsvJeKm09r3GFFoK8tdkY3JDroC/6cMQg7GA== X-Received: by 2002:aca:3a45:: with SMTP id h66-v6mr8708283oia.336.1529372724511; Mon, 18 Jun 2018 18:45:24 -0700 (PDT) Received: from localhost (76-251-165-188.lightspeed.austtx.sbcglobal.net. [76.251.165.188]) by smtp.gmail.com with ESMTPSA id f53-v6sm11179114otd.80.2018.06.18.18.45.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 18:45:23 -0700 (PDT) From: Michael Roth To: qemu-devel@nongnu.org Date: Mon, 18 Jun 2018 20:42:03 -0500 Message-Id: <20180619014319.28272-38-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180619014319.28272-1-mdroth@linux.vnet.ibm.com> References: <20180619014319.28272-1-mdroth@linux.vnet.ibm.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22c Subject: [Qemu-devel] [PATCH 037/113] multiboot: Remove unused variables from multiboot.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , qemu-stable@nongnu.org, Jack Schwartz Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Jack Schwartz Remove unused variables: mh_mode_type, mh_width, mh_height, mh_depth Signed-off-by: Jack Schwartz Reviewed-by: Daniel Kiper Reviewed-by: Prasad J Pandit Signed-off-by: Kevin Wolf (cherry picked from commit 7a2e43cc96fd017883973caf9ee076ae23a3bebd) Signed-off-by: Michael Roth --- hw/i386/multiboot.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hw/i386/multiboot.c b/hw/i386/multiboot.c index ff2733d12e..964feaf26e 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);