Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1766356imm; Sun, 15 Jul 2018 16:40:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc8N7rJWZ3nckYSolzET8yME3QlPnX5rnHQJ7/33OKqWFTlP4pb4XMmLULNphYhD1ItZot2 X-Received: by 2002:a17:902:8486:: with SMTP id c6-v6mr14329668plo.283.1531698005024; Sun, 15 Jul 2018 16:40:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531698004; cv=none; d=google.com; s=arc-20160816; b=K/K/la2g5RzL6r4rw/cZ6mJB85TkN/fPUL8H6OUZaEsPLxVvpYHbcPJVdcQUC4L/31 ra6qLPps3+HD+9BeDBfwQFS1drV//aupp9ZFMkUWKEw6CHWgjNE0DHOYUaAaOIVnGQ9B kRnYuWZXxjvwwD/cAdVUeB+RB7erh5avQvp0jl+l3wdhs+qiSx9/Z44feqtUvDy6Gk/H k0LOeYH57fbGYOhL8A8i7VrquU5cHq4BjGFTljedeDTg5zzACiJx5c7v6uh1WYM/T6xU M9eL5sFH+QmxSwIIAJ/C9f2jNSYoxO24bYDd73zfqNgpZCcbD6vJmUXvDKzsva79dHBj LUZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=RwstZJuQaZEc+THnFNyKTKHtac7ga/dMFZbMI6y3P5k=; b=w25vZPMafZA+Ir6AT5G+JqZ/NDv1iO07neUAEd25zo17es7tppOQIoVO2BIAizqHog JDZZkrKOiSKgnyuBGO/3OpQgPIfbtNuWy1A29IuvpjTII6RjJ6TR43Eb8rd35ZHtCT49 rdY8DHZH9bzTuYrUsnaCTCtn9+wYIKEa5D/19TrsBLHhwkVegv6Aj4MToW5NGSM6vC2h UOjSf2CXYE4JZ5IstY06PjJCR4fOx8KP9I/F3999Frn7tJNK83PI7MmA/7+Gqf1yEGfW ta9gQaCwewMsMda3bw1kfPEg6vLfHtVJi21DiYXdLCBtIoYzSHpuVGllpUkOuiCB5HMN Y2oA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i130-v6si28437202pgd.691.2018.07.15.16.39.50; Sun, 15 Jul 2018 16:40:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728300AbeGPADr (ORCPT + 99 others); Sun, 15 Jul 2018 20:03:47 -0400 Received: from terminus.zytor.com ([198.137.202.136]:47991 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727299AbeGPADr (ORCPT ); Sun, 15 Jul 2018 20:03:47 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w6FNcpW3922773 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 15 Jul 2018 16:38:51 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w6FNcoNf922770; Sun, 15 Jul 2018 16:38:50 -0700 Date: Sun, 15 Jul 2018 16:38:50 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Sai Praneeth Message-ID: Cc: sai.praneeth.prakhya@intel.com, hpa@zytor.com, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, ard.biesheuvel@linaro.org, mingo@kernel.org, tglx@linutronix.de, peterz@infradead.org Reply-To: peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org, ard.biesheuvel@linaro.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, sai.praneeth.prakhya@intel.com, hpa@zytor.com In-Reply-To: <20180711094040.12506-6-ard.biesheuvel@linaro.org> References: <20180711094040.12506-6-ard.biesheuvel@linaro.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:efi/core] efi: Remove the declaration of efi_late_init() as the function is unused Git-Commit-ID: f5dcc214aae29a68b37b2b4183f7171724e7b02d X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: f5dcc214aae29a68b37b2b4183f7171724e7b02d Gitweb: https://git.kernel.org/tip/f5dcc214aae29a68b37b2b4183f7171724e7b02d Author: Sai Praneeth AuthorDate: Wed, 11 Jul 2018 11:40:37 +0200 Committer: Ingo Molnar CommitDate: Mon, 16 Jul 2018 00:43:12 +0200 efi: Remove the declaration of efi_late_init() as the function is unused The following commit: 7b0a911478c74 ("efi/x86: Move the EFI BGRT init code to early init code") ... removed the implementation and all the references to efi_late_init() but the function is still declared at include/linux/efi.h. Hence, remove the unnecessary declaration. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Ard Biesheuvel Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180711094040.12506-6-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar --- include/linux/efi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/efi.h b/include/linux/efi.h index 8ba0cdd244b2..e190652f5ef9 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -988,14 +988,12 @@ extern void efi_memmap_walk (efi_freemem_callback_t callback, void *arg); extern void efi_gettimeofday (struct timespec64 *ts); extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if possible */ #ifdef CONFIG_X86 -extern void efi_late_init(void); extern void efi_free_boot_services(void); extern efi_status_t efi_query_variable_store(u32 attributes, unsigned long size, bool nonblocking); extern void efi_find_mirror(void); #else -static inline void efi_late_init(void) {} static inline void efi_free_boot_services(void) {} static inline efi_status_t efi_query_variable_store(u32 attributes,