]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI/VPD: Remove pci_vpd_release() unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Sat, 24 Aug 2024 10:03:31 +0000 (18:03 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Aug 2024 21:23:47 +0000 (16:23 -0500)
Commit fd00faa375fb ("PCI/VPD: Embed struct pci_vpd in struct pci_dev")
removed pci_vpd_release() but left the declaration.  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 c69383b7a5bc3fea41fcb7b5442e50297b9e8276..6dbd012eb68141ad940813c405e835235d356552 100644 (file)
@@ -168,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 */