Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4840044rwe; Tue, 30 Aug 2022 18:53:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR6T4mlWfArXyCk5bJOue/rG4QkyNaByyGzZAv4friGs8kCXF7J+Q1cib7vc24l9xo2hT4if X-Received: by 2002:a17:907:6e0b:b0:73d:5850:ca15 with SMTP id sd11-20020a1709076e0b00b0073d5850ca15mr19030697ejc.344.1661910828435; Tue, 30 Aug 2022 18:53:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661910828; cv=none; d=google.com; s=arc-20160816; b=AulFU4N0DVhg52Gvhbgpo0mf9gAYF6xxf8zCwcRCHcqYX/30a9MzRC0woyVtYgvN9n Aukor/OIKbFeywPdEmio+PiY9isZvuHiS/kZzoFOue7yb4b82yu8ro1nyM8UFTHBsrYQ P/jagwMMAswHQib/wX7VZ8jHmSMCEZiQLzV1zvAb2Qp2cg3ulrkAbCEjS1uLVQW+jZ5m NMgjEauI6wr97C+OYiZ1RoFAvP9RuTichjTlgzOEYd/KbKVfL1I2MtE1vMMqd9FQPZ5C 640rLbvP3gOR10BN1nHc2enskY26YhNG3GVmpM45DRH4w/expgxg/5ew1bX9g43M5Fta 7JqA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=dQJIwUvhGNjX092Phs0xdl9MfbbYPTx9oCj6UYxXh5g=; b=E5vpm7S/KP+Hc9hhQs19Xla/3EvhdSPJzPauM7bjrSg1pR17A8Uwrsg1Rh+hv/3LJG KhgVnfw82jf1ur6D2xjahHVyN92HBbpOfn1vtwOkXCfilkF8oazpQAiVKpWzmcOYXvyV NxxN9RL+t5e5cixUedwskCmPo4tGgjOckmiZL03A83T0dr2RMPHJnKR7O7OsLhkb7D8n nrOMgNHtoIferTuaKZWP+nRJBn8f2qfjK8p7jFFGrvvE1xfimE4sf3I9Z/C9W9MiJ2Xa T6cxHAdYjh0Sua4X+acP0m/O4/F3x9LsHi+WSg1dRJcXZvZb/6egjCiIdBBeKivBqQaU rVJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (no key) header.i=@lespinasse.org; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-83-rsa header.b=mVEewu2U; 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=pass (p=NONE sp=NONE dis=NONE) header.from=lespinasse.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020aa7c48c000000b0044806e47a3dsi7025851edq.255.2022.08.30.18.53.22; Tue, 30 Aug 2022 18:53:48 -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; dkim=neutral (no key) header.i=@lespinasse.org; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-83-rsa header.b=mVEewu2U; 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=pass (p=NONE sp=NONE dis=NONE) header.from=lespinasse.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231768AbiHaBtp (ORCPT + 99 others); Tue, 30 Aug 2022 21:49:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbiHaBtb (ORCPT ); Tue, 30 Aug 2022 21:49:31 -0400 X-Greylist: delayed 1201 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 30 Aug 2022 18:49:28 PDT Received: from server.lespinasse.org (server.lespinasse.org [63.205.204.226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DBACAD9A3; Tue, 30 Aug 2022 18:49:27 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=lespinasse.org; i=@lespinasse.org; q=dns/txt; s=srv-83-ed; t=1661908369; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=dQJIwUvhGNjX092Phs0xdl9MfbbYPTx9oCj6UYxXh5g=; b=4HicKEvVRL7E+lmDSjVEcLsiD1QOTMNuQstm3DwBEfZeieP4K7ucrTb5EXfjM3P05/pSW dWd55+sR2b1smcpDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lespinasse.org; i=@lespinasse.org; q=dns/txt; s=srv-83-rsa; t=1661908369; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=dQJIwUvhGNjX092Phs0xdl9MfbbYPTx9oCj6UYxXh5g=; b=mVEewu2UAPsTPNp59LLDa0lr52qDw0DsqGkGsj3OFX6udzMDK2TNzsfuJIfrkDfXdr6IQ sBcg1xVdT6npNX0UeozgG5vVqcNwi9xbl0+Kb6ZPIQGh8Z/ozDBsxeT8/ZZFAPv4Umt7Dc1 +9czjjOk6/bb9PMPNXGUc4DiMkQmAX6HK93HBLIN7VtZ+VbcOFKfv7vQzbEPZLDqHmssT+V JldWMNaGfqvRgt5v02SfodN3yLqPFG3HYpiRP63Yap9ORVUMdxWBkBjvRA3iPs5XyFtCZXX keLheD2piRC658c8hdCHwQBOngM7V6cQQZKlyFM6YhK6PRWy8+UrQwIh6ohw== Received: from zeus.lespinasse.org (zeus.lespinasse.org [10.0.0.150]) by server.lespinasse.org (Postfix) with ESMTPS id 1A824160522; Tue, 30 Aug 2022 18:12:49 -0700 (PDT) Received: by zeus.lespinasse.org (Postfix, from userid 1000) id 08997203E1; Tue, 30 Aug 2022 18:12:49 -0700 (PDT) From: Michel Lespinasse To: Michael Roth , Ard Biesheuvel Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Michel Lespinasse Subject: [PATCH 3/4] Remove unused variable ret in efi_get_conf_table() Date: Tue, 30 Aug 2022 18:12:47 -0700 Message-Id: <20220831011248.28632-4-michel@lespinasse.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220831011248.28632-1-michel@lespinasse.org> References: <20220831011248.28632-1-michel@lespinasse.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 avoids a build warning with CONFIG_EFI enabled. Fixes: 61c14ceda840 (x86/compressed/acpi: Move EFI config table lookup to helper) Signed-off-by: Michel Lespinasse --- arch/x86/boot/compressed/efi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/boot/compressed/efi.c b/arch/x86/boot/compressed/efi.c index c42ee7874eb9..6ffd22710ed2 100644 --- a/arch/x86/boot/compressed/efi.c +++ b/arch/x86/boot/compressed/efi.c @@ -130,7 +130,6 @@ int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa, { unsigned long sys_tbl_pa; enum efi_type et; - int ret; if (!cfg_tbl_pa || !cfg_tbl_len) return -EINVAL; -- 2.20.1