Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3361585imm; Sun, 24 Jun 2018 18:53:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJl1FDQIfiMBCgCSiUYj5tFPcd0S4ieunQbRXF/A+dmz9wDc7Z5mpQlDrQc1tWWE/Xio4dR X-Received: by 2002:a62:1f17:: with SMTP id f23-v6mr6794184pff.17.1529891613366; Sun, 24 Jun 2018 18:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529891613; cv=none; d=google.com; s=arc-20160816; b=XdO5Fy/KMdYJUn5UN1BGmvVZZkk3OwoRmm4t87A0BKJ1ZuxBis95KlwB4JlNwziawK 8nmQg6XSD60V+md+CpGJd1RCnwc3K+Runb5A36smlRwSDeWTNY0MAzgcgCMHsVWwUHCb iKvNWOh/5zEJEabPN9dPsMNubk6Cw3fdL9bt70kJVAKHkP5Ohv6ok7LCD2whWBzhOm+z 9RAaa1c1qbMpR7zFph4/1yqgBtFrZkNz93isjKt9TGkS+E23T2aeUv78ZZmyQmv8ooyg Lw44VgARR/UTYMM+59mjLhH+bAb0IKxzJA2ZGS4CIfWgCTOgpUGvD+cdCFP0KQEKYqL7 MaRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=E9li20BA85NX5f6Oa6HiwjR4Mgmiq4hq63lc1RSX9HI=; b=x5FqEGbY5GRMjZfl3pRUt0Coyuf+cNZzSeouYL2czbYlqsN15XAlErOeTEsxHe0dWZ EnvELqCEmJz5u0E9DUd91viXIZAXkP38HMXFKxOpPUmBUapvTcjVpslO5S5UZGDNUTk9 AoufqkYTVritRVpxnxfrVRmDGhAKPod0DIgBncGZ9wC8okZIQ/OKBs21IJp7qSoebAyT jEAKsgXDcrufVeCW/lB4fjJNFlu2l7n2OuuoGQPAz53iaN9lAbpAjTLWZWITsmTkTExV qglTJt92YFhCL8voS2ZIcvgO7i/QAoLat9bu7CvNcecTQMyByteRd89zTWYTugZvN8jn 0l+A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2-v6si10781807pgn.178.2018.06.24.18.53.18; Sun, 24 Jun 2018 18:53:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752505AbeFYBwj (ORCPT + 99 others); Sun, 24 Jun 2018 21:52:39 -0400 Received: from mga18.intel.com ([134.134.136.126]:56357 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752292AbeFYBwi (ORCPT ); Sun, 24 Jun 2018 21:52:38 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2018 18:52:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,268,1526367600"; d="scan'208";a="50250222" Received: from sai-dev-mach.sc.intel.com ([143.183.140.145]) by fmsmga008.fm.intel.com with ESMTP; 24 Jun 2018 18:52:37 -0700 From: Sai Praneeth Prakhya To: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sai Praneeth , Lee Chun-Yi , Borislav Petkov , Dave Young , Bhupesh Sharma , Ricardo Neri , Ravi Shankar , Matt Fleming , Ard Biesheuvel Subject: [PATCH] efi: Remove the declaration of efi_late_init() as the function is unused Date: Sun, 24 Jun 2018 18:47:51 -0700 Message-Id: <1529891271-24319-1-git-send-email-sai.praneeth.prakhya@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sai Praneeth 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 Cc: Lee Chun-Yi Cc: Borislav Petkov Cc: Dave Young Cc: Bhupesh Sharma Cc: Ricardo Neri Cc: Ravi Shankar Cc: Matt Fleming Cc: Ard Biesheuvel --- include/linux/efi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/efi.h b/include/linux/efi.h index 56add823f190..ae47be636b98 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, -- 2.7.4