Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4509892rwo; Tue, 25 Jul 2023 07:10:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlEalSk1KK+S98ORYsEPFtpiskDgeztYT+/EggJRWtZsQUoQ+fvHmtR6oU25Wz5yB8Q/crci X-Received: by 2002:a05:6512:3987:b0:4f8:56cd:da8c with SMTP id j7-20020a056512398700b004f856cdda8cmr9292462lfu.34.1690294200585; Tue, 25 Jul 2023 07:10:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690294200; cv=none; d=google.com; s=arc-20160816; b=jpAbEyWNeFHFFhobd3S+lixrUydYqJmfe6NM0kPH2gVoUXYk2Gqfm0efzYzd6GQrh3 vpihVPl9MfS85v4osyxSauXEOGD9GyA9bI8P24ver7rqTLNL5fYw5P0v0d12if7bG5RJ JOucJiFt49yV/8J93xFea7y3Nwl6a/QRuQ3MM0YOZdJch1UpkNsB0p+dPYozQLyPp29C FY9j8VAKTRbDS/lfRvEY1aCGe3baGtfVW1RS7OnHriDMfTbX9Pz2CyXrVgTqVoOdH/nm KQd+1QhOe+Do3HGljmUGvFVuXEQTeIgfFvc61SPmJODKRCo2hwVfINPluvJEhVIpktCn GDwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=3nBUFR9WOHF8nL/eS+p5UeFrLVKis6n99oP9/VcpMMw=; fh=44rCNkHB6M/+HslL4DT2nBw2zBqoCecTaxjq7MT73j8=; b=WZW0td3NS+5rJgFICO0DAp1FaKen7/3CFmHxA/w+2aJ1vsKKv5j28yuyoyz8oNnGw9 HweMR+fd/CA6gWw8gfXIkATdrQ+hnkdJm+9AqFmx6Hp/SRrhjUcig6yLll+FA7v4CXJY SPxsGgBIC4EVcZYWl6dCQKGcoGs2YAntnnPAixuLPGtJT441a74ZIeacEI0bz4ozSsOW KTB/3LhZ6VxurWl68NtiO/hl2LBlqHQZDam8NltknlU2EkoMGzohiXs8kAXu8b27FHfK b4zD9DACCNHJKTOqIuspEkmSlHYUYeIFJQ4MVu/7eUctrFTofIHfCIdoXEPEpsGnTNbH WkSQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c22-20020aa7c996000000b00521820ef030si8461287edt.214.2023.07.25.07.09.35; Tue, 25 Jul 2023 07:10:00 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231805AbjGYOEC (ORCPT + 99 others); Tue, 25 Jul 2023 10:04:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbjGYOEA (ORCPT ); Tue, 25 Jul 2023 10:04:00 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F3991FCC; Tue, 25 Jul 2023 07:03:59 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R9JZx2Y8qztRlW; Tue, 25 Jul 2023 22:00:41 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 25 Jul 2023 22:03:54 +0800 From: YueHaibing To: CC: , , YueHaibing Subject: [PATCH -next] efi: Remove unused extern declaration efi_lookup_mapped_addr() Date: Tue, 25 Jul 2023 22:03:27 +0800 Message-ID: <20230725140327.24960-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,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 Since commit 50a0cb565246 ("x86/efi-bgrt: Fix kernel panic when mapping BGRT data") this extern declaration is not used anymore. Signed-off-by: YueHaibing --- include/linux/efi.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/efi.h b/include/linux/efi.h index c31a9895ecb8..d4ec0d9c896f 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -727,7 +727,6 @@ static inline efi_status_t efi_query_variable_store(u32 attributes, return EFI_SUCCESS; } #endif -extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr); extern int __init __efi_memmap_init(struct efi_memory_map_data *data); extern int __init efi_memmap_init_early(struct efi_memory_map_data *data); -- 2.34.1