summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-08-24 18:03:31 +0800
committerBjorn Helgaas <bhelgaas@google.com>2024-08-28 16:23:47 -0500
commit2ac11a2fdcc3aa210d76b65c61c6758f44ac6c54 (patch)
treef20fa551f7652ea5980490b7bf3e077714f9b6c0
parent47ecb443a91ad3d82a79807bec7d258cad8eb86a (diff)
PCI/VPD: Remove pci_vpd_release() unused declarations
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>
-rw-r--r--drivers/pci/pci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index c69383b7a5bc..6dbd012eb681 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -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 */