From patchwork Sat Aug 24 10:00:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 13776400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 287D4158DD4; Sat, 24 Aug 2024 10:03:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724493787; cv=none; b=GmuoZfQMwHpwH/jHBGJMx9FCCPyy9D/WADno7ukVnfvF9o8Pd2u6Q6VoXZ/7vo4Eyka/TFQINsnK+U7760Z8kFJdwK4WXtEFLPrAdudha9dAcosukyh4/drCefsFEeUlRNW83BCrnRxoKCEgfo0v7gBGJU9DQGK19hgiHV3K6Wc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724493787; c=relaxed/simple; bh=UCV/ysRCWDGYA6WPQO1lvhe7MEEX3nKn2g7qtPU6VEg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=rI/hh2vVoJG32C1ySLz9RouTPxDAuReT3gO96h7eTUtq7dnmaNKrygSWM6v8LX5MexkaLqMYCN/CEUAdgOtMqu5jzcfe1Cj7obFg8DpYGY2Bw5+gTlwrvZa0WGZnIQeOlUquTviFTJmv3N2sX5Ol7UwvSDA3INp3n3/++euXE2Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4WrXY63hDJzpVkN; Sat, 24 Aug 2024 18:02:18 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id A8C10140118; Sat, 24 Aug 2024 18:03:01 +0800 (CST) Received: from huawei.com (10.175.101.6) by dggpemf500002.china.huawei.com (7.185.36.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Sat, 24 Aug 2024 18:03:01 +0800 From: Yue Haibing To: CC: , , Subject: [PATCH -next] PCI: Remove two unused declarations Date: Sat, 24 Aug 2024 18:00:10 +0800 Message-ID: <20240824100010.539945-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemf500002.china.huawei.com (7.185.36.57) Commit b67ea76172d4 ("PCI / ACPI / PM: Platform support for PCI PME wake-up") declared but never implemented these. Signed-off-by: Yue Haibing --- drivers/pci/pci.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 0e9b1c7b94a5..4c284c55a0c5 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -124,7 +124,6 @@ void pcie_clear_device_status(struct pci_dev *dev); void pcie_clear_root_pme_status(struct pci_dev *dev); bool pci_check_pme_status(struct pci_dev *dev); void pci_pme_wakeup_bus(struct pci_bus *bus); -int __pci_pme_wakeup(struct pci_dev *dev, void *ign); void pci_pme_restore(struct pci_dev *dev); bool pci_dev_need_resume(struct pci_dev *dev); void pci_dev_adjust_pme(struct pci_dev *dev); @@ -169,7 +168,6 @@ static inline bool pcie_downstream_port(const struct pci_dev *dev) } void pci_vpd_init(struct pci_dev *dev); -void pci_vpd_release(struct pci_dev *dev); extern const struct attribute_group pci_dev_vpd_attr_group; /* PCI Virtual Channel */