Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp613616rwb; Tue, 27 Sep 2022 02:07:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4z3BlzRaH2U5EKpfkCtjM5Ntoyqy5LgHNAcmf9cc4n90OP1dTwsX/nLs+YCkHf58coBJK7 X-Received: by 2002:a05:6402:4402:b0:453:6a9:ef8a with SMTP id y2-20020a056402440200b0045306a9ef8amr25637509eda.85.1664269650763; Tue, 27 Sep 2022 02:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664269650; cv=none; d=google.com; s=arc-20160816; b=zwsht0qig2aJoCdRoNfnHbWb8dtOvMZqkMaCqrgPNJiS8gHts5AsoBxF5Tx0AS32uF K67Qos7sVVu039Z0F8d9EVDJa1jrGO8s6e42Xdqp5leElB8K1ZC8tlExqHpSwMvowdzx dYoTavWH154pgOnIhXRIbzY0Bh2GcgEYeMP4JVU/3TYzDVcxwTKFKCuzZB3HIqxH19vu e/HBXULHLRmWp+Iob63SqMOhrq8oc0g0mqiao1YWLfz8T3Y1CK5vyZQFrcIJj3bTgfov R+/3XYw0LBH5fHgcMd67MhR6kQdBbdtnIfOz+LgfgIDB2cUP6T8AQnBnfZc7GTYgCzLw Xz0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tqLLstuwktpiW4kWS7l+bv9qCKEX7ZN8H/aC3ZdzUAw=; b=wdjHRO6kkPiLtjL81Rd5FePucV/8zBgh+TLZ2JyL5Op4tU98UyuvXF+totl1VGZSQ9 ptVNsZWoCqRdAysgpAUk63fviKoEIAQnxTHdYZNXw6i/xLNhyyPt5iHMrX7pkXbJfiSo vjRIP3gg1KXaSvqIiE0OtHxTu4naSmFdutrUejk8wjmMYDJvahGmzRyooVyQmet1UJx1 pssW1QZ5hSzLDz/tDIhRPxtZARNeFq33rFGjBljqIX4IvUivBkuCekmfsEHWH4lux7yJ Few0yGNaOtoiMiw7yP4QbV7LI8VkBcI2JQ2VbbNAcjjG9yeH6FNin9px3kQeCLbMmsR1 ctpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c92-20020a509fe5000000b004568a20128asi921421edf.339.2022.09.27.02.07.04; Tue, 27 Sep 2022 02:07:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230251AbiI0ITL (ORCPT + 99 others); Tue, 27 Sep 2022 04:19:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbiI0ITH (ORCPT ); Tue, 27 Sep 2022 04:19:07 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 513B96585 for ; Tue, 27 Sep 2022 01:19:06 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4McC9016ZhzWgpX; Tue, 27 Sep 2022 16:15:00 +0800 (CST) Received: from kwepemm600017.china.huawei.com (7.193.23.234) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 27 Sep 2022 16:19:04 +0800 Received: from huawei.com (10.67.175.88) by kwepemm600017.china.huawei.com (7.193.23.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 27 Sep 2022 16:19:03 +0800 From: Li Zetao To: , , , , , , , , , , , CC: , , , , Subject: [PATCH -next v2 0/2] Remove unused variables in x86/boot Date: Tue, 27 Sep 2022 08:15:10 +0000 Message-ID: <20220927081512.2456624-1-lizetao1@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.175.88] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600017.china.huawei.com (7.193.23.234) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set removes some unused variables in x86/boot, and add the "-Wall" flag to Makefile, which is the old problem of x86 not sharing makefiles. Changes since v1: - Add "-Wall" flag to x86/boot/compressed/Makefile - Remove unused variables "et" in efi_get_system_table() and "ret" in efi_get_conf_table() - Remove unused variables "ret" in __efi_get_rsdp_addr() and "nr_tables" in efi_get_rsdp_addr() v1 at: https://lore.kernel.org/all/20220923113209.3046960-1-lizetao1@huawei.com/ Li Zetao (2): x86/boot/compressed: Add "-Wall" flag to Makefile x86/boot: Remove unused variables arch/x86/boot/compressed/Makefile | 2 +- arch/x86/boot/compressed/acpi.c | 2 -- arch/x86/boot/compressed/efi.c | 2 -- arch/x86/boot/compressed/sev.c | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) -- 2.34.1