PCI: Remove unused function declarations
authorYue Haibing <yuehaibing@huawei.com>
Fri, 11 Aug 2023 09:59:33 +0000 (17:59 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 24 Aug 2023 20:38:59 +0000 (15:38 -0500)
commitea91512ded9963d8ca98eab67d7d182a989813d9
treea6bfbbaaac5e4855e0703b7acde1d1c0b62f0244
parent87382eaddeed3d32afc9e4524f9488eb1bc999c2
PCI: Remove unused function declarations

The following declarations have never been implemented since the beginning
of git history, so remove them:

  u8 acpiphp_get_attention_status(struct acpiphp_slot *slot);
  u8 cpci_get_latch_status(struct slot *slot);
  u8 cpci_get_adapter_status(struct slot *slot);
  int ibmphp_get_total_hp_slots(void);
  void ibmphp_free_ibm_slot(struct slot *);
  void pdev_enable_device(struct pci_dev *);

Link: https://lore.kernel.org/r/20230811095933.28652-1-yuehaibing@huawei.com
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/acpiphp.h
drivers/pci/hotplug/cpci_hotplug.h
drivers/pci/hotplug/ibmphp.h
include/linux/pci.h