From cbfddd20937ed890ce7027fa08a7c84e977128cf Mon Sep 17 00:00:00 2001 From: Chen Gong Date: Fri, 20 May 2011 13:36:01 +0800 Subject: PCI: remove unused AER functions In the commit 28eb5f2, aer_osc_setup is removed but corresponding definiton information in the aerdrv.h is missed. Acked-by: Rafael J. Wysocki Signed-off-by: Chen Gong Signed-off-by: Jesse Barnes --- drivers/pci/pcie/aer/aerdrv.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'drivers/pci/pcie/aer') diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h index 3eb77080366a..94a7598eb262 100644 --- a/drivers/pci/pcie/aer/aerdrv.h +++ b/drivers/pci/pcie/aer/aerdrv.h @@ -114,15 +114,6 @@ extern void aer_print_error(struct pci_dev *dev, struct aer_err_info *info); extern void aer_print_port_info(struct pci_dev *dev, struct aer_err_info *info); extern irqreturn_t aer_irq(int irq, void *context); -#ifdef CONFIG_ACPI -extern int aer_osc_setup(struct pcie_device *pciedev); -#else -static inline int aer_osc_setup(struct pcie_device *pciedev) -{ - return 0; -} -#endif - #ifdef CONFIG_ACPI_APEI extern int pcie_aer_get_firmware_first(struct pci_dev *pci_dev); #else -- cgit v1.2.1