s390/pci: remove unused function zpci_rescan()
the only caller of this was removed as part of the suspend/resume removal so no need to keep this function around. Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
Родитель
abb95b7550
Коммит
2bce60b503
|
@ -233,12 +233,10 @@ static inline bool zpci_use_mio(struct zpci_dev *zdev)
|
||||||
/* Error handling and recovery */
|
/* Error handling and recovery */
|
||||||
void zpci_event_error(void *);
|
void zpci_event_error(void *);
|
||||||
void zpci_event_availability(void *);
|
void zpci_event_availability(void *);
|
||||||
void zpci_rescan(void);
|
|
||||||
bool zpci_is_enabled(void);
|
bool zpci_is_enabled(void);
|
||||||
#else /* CONFIG_PCI */
|
#else /* CONFIG_PCI */
|
||||||
static inline void zpci_event_error(void *e) {}
|
static inline void zpci_event_error(void *e) {}
|
||||||
static inline void zpci_event_availability(void *e) {}
|
static inline void zpci_event_availability(void *e) {}
|
||||||
static inline void zpci_rescan(void) {}
|
|
||||||
#endif /* CONFIG_PCI */
|
#endif /* CONFIG_PCI */
|
||||||
|
|
||||||
#ifdef CONFIG_HOTPLUG_PCI_S390
|
#ifdef CONFIG_HOTPLUG_PCI_S390
|
||||||
|
|
|
@ -890,9 +890,3 @@ out:
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
subsys_initcall_sync(pci_base_init);
|
subsys_initcall_sync(pci_base_init);
|
||||||
|
|
||||||
void zpci_rescan(void)
|
|
||||||
{
|
|
||||||
if (zpci_is_enabled())
|
|
||||||
clp_rescan_pci_devices_simple(NULL);
|
|
||||||
}
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче