]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI/PM: Remove __pci_pme_wakeup() unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Wed, 28 Aug 2024 21:21:41 +0000 (16:21 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Aug 2024 21:23:43 +0000 (16:23 -0500)
Commit b67ea76172d4 ("PCI / ACPI / PM: Platform support for PCI PME
wake-up") declared but never implemented __pci_pme_wakeup().  Remove the
unused declaration.

Link: https://lore.kernel.org/r/20240824100331.586036-1-yuehaibing@huawei.com
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
[bhelgaas: split per feature]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h

index 79c8398f39384c75e9851dadf8f4caaec5a0fc2e..c69383b7a5bc3fea41fcb7b5442e50297b9e8276 100644 (file)
@@ -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);