Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3510164imm; Sun, 24 Jun 2018 23:03:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLXWQGPVKqZnZeKelwlccSpsnHjAFNWHafHSkNPue7mupsssjYGSEHvTwgnEF2JCEp2XWc3 X-Received: by 2002:a63:7943:: with SMTP id u64-v6mr9346996pgc.411.1529906585948; Sun, 24 Jun 2018 23:03:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529906585; cv=none; d=google.com; s=arc-20160816; b=fKQCd/gcPOucI7swCWu66MYYZI01QJgXnR2E7032R/UHGHHyEqQPeCLqVAHdlQVBOp tn/WR4hVWlMOXgy8VWqk+sLoZumhTkI2dfKA07uFQWuKIX8x1wO0N/p3y40tOQyHSgW6 5+sn10LW5po580gQQcvTGRJ/YBxs0nxCJeVdv4Wn/pCT9jxnb4am5xRUK6AWwnO+zfpa UpsFtit3BVdKti7L6lUbF5nrvTc9wnllToteicDnup12J6HxgtUyJkitj84EMflPlDW1 8KA1PlsZL9ojPhttW1dXZgdzY9vtRoXbRd6/w6bw+OvLlpyFn993b39iqh6kc5TUdk0t V6xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=bjxGr0QkxYa6s4tcjWsIujVLOjLRhcrhhQCmdHM1mO4=; b=t7WeoRXBUkOsrw6AGIYDa80JpLwheXbVdfWvUKVut67Cpcml2m7eoiZSd4BBEuaiXl KNbVNAGyKt/3ByKCANt5RvzHfI/QbD1EwlrdPGarDmLOSqELYXAoVhEhYBsrisynPC+W BxG8ssMh6LCQDGCaJAiSHgsFlbmJzrgrvPso9cjuPtH2Xtq27MgWdn+QPK+u5T/7IBQz C11ljhPjUeISqSafRwNHYPBwc9i7cTDFeLGKlPZZzjy0ggxy0+O/VIlPHmcjdiG24F0L D5x9slJeHCjms08GkZzZa7kjg4QJTW7XkW/cXhDwJA7Dsyd5LFawuNFP3tRYWF5z9gGz mMdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QeV6MbiR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 85-v6si13311297pfm.264.2018.06.24.23.02.44; Sun, 24 Jun 2018 23:03:05 -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; dkim=pass header.i=@linaro.org header.s=google header.b=QeV6MbiR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752165AbeFYGCD (ORCPT + 99 others); Mon, 25 Jun 2018 02:02:03 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:39931 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751921AbeFYGCC (ORCPT ); Mon, 25 Jun 2018 02:02:02 -0400 Received: by mail-io0-f196.google.com with SMTP id f1-v6so11364680ioh.6 for ; Sun, 24 Jun 2018 23:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bjxGr0QkxYa6s4tcjWsIujVLOjLRhcrhhQCmdHM1mO4=; b=QeV6MbiR3z6iGt6eFDSSyGBQI7mogAwc43FurRDvEYCJHUAa0MgcugZHNxUitx65aE IShCj4TgN5xSv7mh1j0gj57lClIR4kprIUvL0jG4fIdU86fsKohZFvb8Fjpxnf8p2zZC 1fd4i3xmcTAqjHhT8BMcE13rWZcoTFpDfPd/8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bjxGr0QkxYa6s4tcjWsIujVLOjLRhcrhhQCmdHM1mO4=; b=bOgqIfnBIEIr6axb61Vv76XQKXtIEdd3WsNJ3XB6zs0ookz/Brrs6XdjJXc6wpsG38 eOAwyU/ty6TEd1RDNDnPOPhcu3q722TVZx0UGmnXiVnCtlu2StNaSvpCY0hKlJHlyFSY hiwrN7mW1ltE3yn6+ItLOJz5b8wY467ajXt3Yi3PJ5kIlZINdpYW6bjsYCC4lAbw/ur9 4Kmz3BiEn4UIkJHnpdYvoqVslpc16NCkOMTsHYA3b/DJ+OKNrapSGq3vAFS9p8BhQrrg 4elTUNjaLHzf7j94TFhS+7s2gtToD4V8qg9NflOlJXTlDWVpnDIQ66/U54BW4eisANBK +3SA== X-Gm-Message-State: APt69E14U+OMCPasCMRRKahbJkm8O3raTlb5Y2YccxlKCWYFWfu2r/7Y wKO/3/o3hKEPIbGS8z0yyTSVoFfOFdw8xIQs0IoaAg== X-Received: by 2002:a6b:5d09:: with SMTP id r9-v6mr5507634iob.170.1529906521697; Sun, 24 Jun 2018 23:02:01 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bbc7:0:0:0:0:0 with HTTP; Sun, 24 Jun 2018 23:02:01 -0700 (PDT) In-Reply-To: <1529891271-24319-1-git-send-email-sai.praneeth.prakhya@intel.com> References: <1529891271-24319-1-git-send-email-sai.praneeth.prakhya@intel.com> From: Ard Biesheuvel Date: Mon, 25 Jun 2018 08:02:01 +0200 Message-ID: Subject: Re: [PATCH] efi: Remove the declaration of efi_late_init() as the function is unused To: Sai Praneeth Prakhya Cc: linux-efi , Linux Kernel Mailing List , Lee Chun-Yi , Borislav Petkov , Dave Young , Bhupesh Sharma , Ricardo Neri , Ravi Shankar , Matt Fleming Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25 June 2018 at 03:47, Sai Praneeth Prakhya wrote: > 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 Thanks Sai Queued in efi/next > --- > 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 >