Message ID | 20230722025246.8332-1-yuehaibing@huawei.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp605771vqg; Fri, 21 Jul 2023 20:59:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlHGIejNFxLjy9KzpPSKSjc+wI1c+Yz8kspNIycIYOtB3h+lVaQ91irrSrWaK/Ushts5dChL X-Received: by 2002:a05:6e02:e53:b0:345:abdd:bc01 with SMTP id l19-20020a056e020e5300b00345abddbc01mr2049888ilk.17.1689998378124; Fri, 21 Jul 2023 20:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689998378; cv=none; d=google.com; s=arc-20160816; b=uoXU5InEPANym3lv/JTXX0swAKj3d4W8m/G3701K5/0iprmYvQPSt0YspAlMpI+l3O TvsOIwhkFxb15qmIXYFKZP7pJIbc5c2hlw9thY0nG378562UTz6kDdpVs5j+JYMon8Uo QsDdNbKYvqitNUmDLGzdqjFqeTdoVNsztKyEDSySvgymJv6AnKvwQ1gKhhWaiBgQ/pqD vq+hc107M6Njf3akqPbcVM209Cx6yVwMQqel6hkJAyWpfY6sjBf1kbb3TSMrd9AN99/m 5vPltuEVpyJJycf5/NbT9MMptHSwVZySJcoSRQzXq2ProIW2UXWGt2y3AbJv1giMyECS Zlyw== 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=0UO0bXemHVc0jjNTDLZG0gWjIUvzLvJjChVIiUGIgpA=; fh=LVgC/+pV3y6IwqSEUECDwfZlee+aa1aU8AKNqIASCyo=; b=VRUcxloVHghdc/e1x31v8XrQmcoErCK61KmGUY8V2bLZATMJ7Ia4ccg03FiYpQGls5 o0bXPTAlxlglIWIEzoZFKiVRdshblNkU7iFR8ejI5Y1MPNnqLityLBKc8y36hDFChjFT 0Br+O3saHvfK2Go/yq2nXno2FyQLbK/9lizBmRcZccu/9PSEtvPTSw2B4Q8TSCriwBwP wxvjjqyz4TrOe6ql+m+auQh/AWqhm7VkyH139W5PY0TKJkPd4YTiSOnMgjLLQw4QvSb0 JcIJtsMC7IVXf0J0VM8BWJCNYwwM6gYEfr73O5FsNEuo52QWiM8IzUCBj3YheQNEPvNB 9n5A== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd8-20020a170902830800b001b7fa1a9a36si4202534plb.67.2023.07.21.20.59.17; Fri, 21 Jul 2023 20:59:37 -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 S229936AbjGVCwz (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Fri, 21 Jul 2023 22:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbjGVCwx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Jul 2023 22:52:53 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0857010E5; Fri, 21 Jul 2023 19:52:50 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R79r2159zztRSk; Sat, 22 Jul 2023 10:49:38 +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; Sat, 22 Jul 2023 10:52:47 +0800 From: YueHaibing <yuehaibing@huawei.com> To: <rafael@kernel.org>, <lenb@kernel.org> CC: <linux-acpi@vger.kernel.org>, <linux-kernel@vger.kernel.org>, YueHaibing <yuehaibing@huawei.com> Subject: [PATCH -next] ACPI: Remove unsued extern declaration acpi_paddr_to_node() Date: Sat, 22 Jul 2023 10:52:46 +0800 Message-ID: <20230722025246.8332-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: dggems705-chm.china.huawei.com (10.3.19.182) 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772089244118059200 X-GMAIL-MSGID: 1772091739579310106 |
Series |
[-next] ACPI: Remove unsued extern declaration acpi_paddr_to_node()
|
|
Commit Message
Yue Haibing
July 22, 2023, 2:52 a.m. UTC
This is never used since commit 1e3590e2e4a3 ("[PATCH] pgdat allocation for new node
add (get node id by acpi)")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/linux/acpi.h | 2 --
1 file changed, 2 deletions(-)
Comments
On Sat, Jul 22, 2023 at 4:52 AM YueHaibing <yuehaibing@huawei.com> wrote: > > This is never used since commit 1e3590e2e4a3 ("[PATCH] pgdat allocation for new node > add (get node id by acpi)") > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > include/linux/acpi.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/linux/acpi.h b/include/linux/acpi.h > index 641dc4843987..58a0fdf68ca2 100644 > --- a/include/linux/acpi.h > +++ b/include/linux/acpi.h > @@ -477,8 +477,6 @@ static inline int acpi_get_node(acpi_handle handle) > return 0; > } > #endif > -extern int acpi_paddr_to_node(u64 start_addr, u64 size); > - > extern int pnpacpi_disabled; > > #define PXM_INVAL (-1) > -- Applied (with a typo fix in the subject) as 6.6 material, thanks!
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 641dc4843987..58a0fdf68ca2 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -477,8 +477,6 @@ static inline int acpi_get_node(acpi_handle handle) return 0; } #endif -extern int acpi_paddr_to_node(u64 start_addr, u64 size); - extern int pnpacpi_disabled; #define PXM_INVAL (-1)