From patchwork Sat Jul 22 02:55:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 124194 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp595252vqg; Fri, 21 Jul 2023 20:19:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlHSxUHh6njf73sYixRbP6178dfffZ5uQ0iw6kRTszSXekIWwUze1zm/fRwgeIwKECJ/fpHU X-Received: by 2002:aa7:d694:0:b0:51e:6a:b4ba with SMTP id d20-20020aa7d694000000b0051e006ab4bamr2611134edr.41.1689995998523; Fri, 21 Jul 2023 20:19:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689995998; cv=none; d=google.com; s=arc-20160816; b=yhyneRXJK57OkxSzF5FBUeUd4ci1uIOG4D7usJh6BHioh7zp8WN+g5oP1ARftc3M9b ROfBxzt5qfHvZaJsfQNrIQtgL1spSE4iAytHclqX67Q4Dsd2twgOsewLa5rQqw7ttD04 U/ZpL3rabzPl6WUksnwlxQ6jlpPiYDvf2cJZljRU9yQxMQzKBpNuLRbmR7O5fvUqkiHU WkTBxSi/LkLCJlsES4VuqEuOym7YWqeI31Pi5MXRKYoBchTd9AJ0D9fOqkQMQr1vL4PW MUAM4R3uMir++RMyP7cse8vqQP0asukOIueNIQ50ipllY8FiEBovabHRpGGD36V9TDZP hz+w== 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=X6KFpVc9oreCUrUc8VSTo3qjFZT7zZcgu0uEw36r6eazV4ntGEyOJ6UWHGg5q1xDkL vleTt2evEYAxAPKgy01vSCamS/XU4EA6emskVTUWnWRluWmXlXoKtlR41elh6Bp2m6x1 0BfklALqNR2Ll5ALZNws8O4S6C5oK+QzDpvjAzsz4oOETgjjWC+L1sGPuZJGyVvGUOfM EWBExYTkhhPZdyDl47wHCjzQA8Pzp8WZxTIliofXG7iwamqHZCFRODiO3FXHLAU3cmWU Dft3oM4dWyHQWQBbKaYgqJuWR5TSLJYs9/wZMDPKx2pNe6UOTnOWqHuTopwtDQCHwE4q cRCg== 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 v4-20020aa7cd44000000b005219e26dddfsi3120999edw.664.2023.07.21.20.19.33; Fri, 21 Jul 2023 20:19:58 -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 S229646AbjGVCzL (ORCPT + 99 others); Fri, 21 Jul 2023 22:55:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbjGVCzJ (ORCPT ); Fri, 21 Jul 2023 22:55:09 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A2D41701; Fri, 21 Jul 2023 19:55:08 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4R79vR4kRWzHnhd; Sat, 22 Jul 2023 10:52:35 +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:55:05 +0800 From: YueHaibing To: , CC: , , YueHaibing Subject: [PATCH -next] ACPI: Remove unsued extern declaration acpi_paddr_to_node() Date: Sat, 22 Jul 2023 10:55:05 +0800 Message-ID: <20230722025505.5052-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) 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, 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772089244118059200 X-GMAIL-MSGID: 1772089244118059200 This is never used since commit 1e3590e2e4a3 ("[PATCH] pgdat allocation for new node add (get node id by acpi)") Signed-off-by: YueHaibing --- 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)