Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4839478rwe; Tue, 30 Aug 2022 18:52:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR5JO8LwVWqlDUo9qBtIo1nv8/buZG/fFJaaF0/vM9pinHIfrEhCprJDioiqj4inWI5qElBr X-Received: by 2002:a17:902:d510:b0:175:b31:fa9b with SMTP id b16-20020a170902d51000b001750b31fa9bmr7168478plg.73.1661910759824; Tue, 30 Aug 2022 18:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661910759; cv=none; d=google.com; s=arc-20160816; b=w2qjp1dwpTCY00kLoGGHLGVQC7S/TjM2LZvZYwK8o+icnl/RcrLIzg49Xiwm/6CZvY VLq2G0GY5kIVU6/ukr5XltO8HXPqRQ43k0la5A4tMd9JJlCzaq3r6qfTc/160v6jewpz hmsljTGGWqwDwmQLf2ibdUTMb9kIUbRlbWq6D62ivntk/OQ8/+cwM9iuRPGeFdYbxHSt prs3Eh3Thp+M+Zt0Z5EDp/9WFlib4lB5RnQ2fSmhMmmVVwQX59lg2jRBRFV8hsO3wHVF rglztMw4NizwEniYKIk6VXGhcxGbSIQU/VVdOmNgZPZ/XuW1eb0+Tm9LI9aBvpAIv/qO nXDQ== 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=T80tVGeeu2pNX6r4SyDC31jnBdPqXosCrg4+diPypRI=; b=J/0D775ek6Ykv9qNl1fz4o+4G5BXZDuRrHzKNpQipmYEUFWWE4wfkCULseEvnGkH8R YLjGEZE+m6Dy/PjoTIXd76MFScc1MMdBy/EdKNF2PsKIG30yH2dxcaQ8nw8YNAv0Yif/ m0X3QNHWKKWC0M1eE7BrTWu4Fxc3sRwh6T7D1Rj4ZWKH+2qqbN59hIdg6SwqqXCYY5wj stR6oPVJ+LxQk6Lyur1WWALIm+nnb2z/S5r7de2gODpHgPbjymF5X4/wVce83t08ZEWS FfnYiX0JqbHuU/Q4oGnLfgqPFAv1EvWeAVdFhfO2ror/GxNDfvKoFY15hZN7ZmIpQtq/ RDZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (no key) header.i=@lespinasse.org header.s=srv-83-ed; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-83-rsa header.b="elLk/Zmy"; 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 x24-20020aa78f18000000b0052543a673a0si13577087pfr.93.2022.08.30.18.52.27; Tue, 30 Aug 2022 18:52:39 -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 header.s=srv-83-ed; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-83-rsa header.b="elLk/Zmy"; 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 S229740AbiHaBta (ORCPT + 99 others); Tue, 30 Aug 2022 21:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbiHaBt2 (ORCPT ); Tue, 30 Aug 2022 21:49:28 -0400 X-Greylist: delayed 1200 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 30 Aug 2022 18:49:27 PDT Received: from server.lespinasse.org (server.lespinasse.org [IPv6:2001:470:82ab::100:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DB07AD99C for ; 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=T80tVGeeu2pNX6r4SyDC31jnBdPqXosCrg4+diPypRI=; b=F8SV8l+9s3sa7Ue0csxKYcXV3g8Fb8K1d05osoDq3i+/IoLAGBMuZYHO6+YEyxV/FFEcQ Oi0/yKgo0ZzQ3RgAQ== 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=T80tVGeeu2pNX6r4SyDC31jnBdPqXosCrg4+diPypRI=; b=elLk/ZmyTh70+A+BuevYD5PchLZUtZ+gbP3/gOCkAb0yOINaCOTZ7PqmnCh6bpuWMn1pe 5YzUQ5WH2PmX7h92QksK1ytvsvJzqOuW9T3ilnqUzZIpBbGg6hljpj4/nBCaI0F/sZAHYbQ jKRijJmbs3z5ZitT3uSvhEInzIMzP3L/Zx2a3fK6zCLcmrJUw+hs+NRZNamj+HoS/ojQn8X Drah4VgZKB2T6Qhc9yGlqeekiW9DhCholNC5fPbXOTtG5UrWMMMA7rIKXeDccI6x0vgaQln prPRI8Vsuy+Ey/vIAel/tpAUlOmYZufkermyUIHU/uVz2MPdlbR78atfWwrw== Received: from zeus.lespinasse.org (zeus.lespinasse.org [IPv6:fd00::150:0]) by server.lespinasse.org (Postfix) with ESMTPS id 22323160525; Tue, 30 Aug 2022 18:12:49 -0700 (PDT) Received: by zeus.lespinasse.org (Postfix, from userid 1000) id 0B94C20407; 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 4/4] Remove unused variable ret in __efi_get_rsdp_addr() Date: Tue, 30 Aug 2022 18:12:48 -0700 Message-Id: <20220831011248.28632-5-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=unavailable 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: dee602dd5d14 (x86/compressed/acpi: Move EFI vendor table lookup to helper) Signed-off-by: Michel Lespinasse --- arch/x86/boot/compressed/acpi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/boot/compressed/acpi.c b/arch/x86/boot/compressed/acpi.c index 83a7977ef56f..21febd9f21ab 100644 --- a/arch/x86/boot/compressed/acpi.c +++ b/arch/x86/boot/compressed/acpi.c @@ -24,7 +24,6 @@ __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len) { #ifdef CONFIG_EFI unsigned long rsdp_addr; - int ret; /* * Search EFI system tables for RSDP. Preferred is ACPI_20_TABLE_GUID to -- 2.20.1